home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / 6457 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.2 KB  |  44 lines

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!sun-barr!rutgers!rwja!green
  2. From: green@rwja.umdnj.edu (Cliff Green)
  3. Newsgroups: comp.databases
  4. Subject: Re: Help with Clipper5.01!!
  5. Keywords: Clipper, Read
  6. Message-ID: <1539@rwja.umdnj.edu>
  7. Date: 31 Aug 92 18:22:27 GMT
  8. References: <1992Aug29.161928.1@cc.newcastle.edu.au>
  9. Organization: Robert Wood Johnson Medical School, Piscataway NJ
  10. Lines: 32
  11.  
  12. cslib@cc.newcastle.edu.au (DOUGLAS SCOTT) writes:
  13.  
  14.  
  15. >  Example:    @ 1,1 SAY "Enter first variable:" COLOR "w+/b"
  16. >          @ 1,20 GET M->var1 PICTURE "XXXX" COLOR "bg+/b"
  17. >          
  18. >          IF M->var1 == "TEST"
  19. >             @ 2,1 SAY "Enter second variable:" COLOR "w+/b"
  20. >             @ 2,20 GET M->var2 PICTURE "9999" COLOR "bg+/b"
  21. >              ENDIF
  22. >          READ
  23.  
  24. >    All I want to do is to be able to check each variable as it is entered
  25. >  in the respective field. Is there an easy way?
  26.  
  27. I haven't actually tried it, but isn't that what the WHEN clause is for?
  28. (e.g., @ x,y say "Blah" get blah when m->fubar =="TEST")
  29.  
  30. c
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39. -- 
  40. Clifford Green               Internet:   green@rwja.umdnj.edu
  41. Academic Computing Services     voice:   908-463-4436
  42. UMDNJ-RWJMS                       fax:   908-463-5252
  43. #include <fineprint.h>
  44.