home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / 6506 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.8 KB

  1. Path: sparky!uunet!gatech!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!NAUVAX.UCC.NAU.EDU!DEVRIES
  2. From: DEVRIES@NAUVAX.UCC.NAU.EDU (Ernie DeVries)
  3. Newsgroups: comp.databases
  4. Subject: Re: Listing .VAL and SET files HOW?
  5. Message-ID: <01GOB1CS55QQ0009KU@NAUVAX.UCC.NAU.EDU>
  6. Date: 2 Sep 92 18:02:09 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Lines: 29
  9.  
  10. Paralex by Kallista is a commercial product that does this quite well.
  11.  
  12. If you want to create your own, the basic script outline is:
  13.  
  14. 1) Create an array to hold the values you'll be getting
  15. 2) Enter "Edit" mode in the table you want
  16. 3) use {menu} {ValCheck} {Define} Enter to get into ValChecks for the
  17.    current field, then choose the type of val check that you want.
  18. 4) Store its current value in the array using array[1]=menuchoice().
  19. 5) Use the Esc command as many times as necessary to backup to step 3,
  20.    then repeat for the next val check option.
  21. 6) When you get them all, move to the table image where you want to
  22.    store the values and use CopyFrom Array to put them into a record.
  23.  
  24. This gets a little hairy with ValChecks that have multiple options like
  25. lookupandfill, but it can be done.
  26.  
  27. I must add that I think it is ridiculous that this feature is not built
  28. into the tools menu in Paradox.  Of course, I've been telling Borland
  29. since version 2.0 that they need to provide a built-in way to print
  30. report definitions and they haven't done that yet either.
  31.  
  32. --Boundary (ID ugIFCoZVzrkXpw0IdsveHQ)--
  33. +========================================================+
  34. |     /\                   Ernie DeVries                 |
  35. |    /  \/\      Academic/Personal Computer Services     |
  36. | /\/    \ \/\       DeVries@nauvax.ucc.nau.edu          |
  37. |   Northern Arizona University   "The Mountain Campus"  |
  38. +========================================================+
  39.