home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / 6518 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.5 KB  |  37 lines

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsc!cbfsb!att-out!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: <1556@rwja.umdnj.edu>
  7. Date: 3 Sep 92 01:05:36 GMT
  8. References: <1992Aug29.161928.1@cc.newcastle.edu.au> <1539@rwja.umdnj.edu> <1992Sep2.023355.8221@cc.uow.edu.au>
  9. Organization: Robert Wood Johnson Medical School, Piscataway NJ
  10. Lines: 25
  11.  
  12. u9048979@cc.uow.edu.au (glen eastment) writes:
  13. [stuff about presumed prevalidation deleted]
  14.  
  15. >>I haven't actually tried it, but isn't that what the WHEN clause is for?
  16. >>(e.g., @ x,y say "Blah" get blah when m->fubar =="TEST")
  17.  
  18. >Actually the VALID clause would be better.
  19. >WHEN is for pre-validation, but VALID is for post-validation.
  20. >Post-validation is handy, because it waits till the user enters the
  21. >data in the current get. Pre-validation is handy when determining whether
  22. >to activate that get at all.
  23. Yeah, I knew that.  :)
  24.  
  25. >eg. get customer number only if (WHEN) customer number has not allready been 
  26. >entered. Check if customer number has been entered correctly (VALID).
  27. I was under the impression that that was what the original request was
  28. about:  prevalidation.
  29.  
  30. Anyway, you could probably skin this particular cat in a number of ways.
  31.  
  32. c-- 
  33. Clifford Green               Internet:   green@rwja.umdnj.edu
  34. Academic Computing Services     voice:   908-463-4436
  35. UMDNJ-RWJMS                       fax:   908-463-5252
  36. #include <fineprint.h>
  37.