home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / database / 8616 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.0 KB

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