home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!darwin.sura.net!dtix!mimsy!afterlife!adm!smoke!brl.mil!fsbrn
- From: fsbrn@brl.mil (Froderick S. Brundick)
- Newsgroups: comp.databases
- Subject: refreshing Paradox workspace
- Keywords: paradox wait workspace refresh
- Message-ID: <19484@smoke.brl.mil>
- Date: 21 Dec 92 14:46:13 GMT
- Sender: news@smoke.brl.mil
- Reply-To: fsbrn@brl.mil
- Organization: Army Research Laboratory
- Lines: 28
-
- I've been working on an application in Paradox 3.5 and last night I
- noticed a bug (in my app). I'm using a form to allow the user to fill
- out an invoice, and everything is ok until I get to the end. The last
- input field is the amount tendered. I use a WAIT FIELD/UNTIL loop to
- get the amount, plug in a default value if the field was left blank,
- and DO_IT!. Alas, the amount is not displayed (if the user left it
- blank, of course it is there if he typed it) nor is the next
- calculated field -- AmountDue-AmtTendered. Immediately after this
- block of code is a call to SHOWMENU so the user has plenty of time to
- look at the blank calculated field. I never noticed the problem in the
- past because I put in a dummy WAIT/UNTIL to give me time to check out
- the final form (before I finished the proc).
-
- I added a REFRESH before the SHOWMENU and that didn't do anything
- (just what *does* it refresh?). I tried KEYPRESS "r" WAIT FIELD
- UNTIL "r" and it still waited for a keyboard response (does WAIT flush
- the buffer first?). My next idea is to paint the 2 numbers on the
- canvas; the user will think they're on the form. The next WAIT/UNTIL
- will properly refresh it.
-
- Does anyone have a solution to my problem? I got my 4.0 upgrade
- Friday so 4.0 solutions are also welcome, altho the app will be run
- under 3.5 for the time being (or 4.0 in compatibility mode). Thanks.
-
- dsw, fferd
- Fred S. Brundick
- USARL, APG, MD.
- <fsbrn@brl.mil>
-