home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / 7638 < prev    next >
Encoding:
Text File  |  1992-11-05  |  1.6 KB  |  40 lines

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!dcatlas!joet
  3. From: joet@dcatlas.dot.gov (Joe Trott)
  4. Subject: Re: PARADOX question
  5. Message-ID: <1992Nov4.185938.9547@dcatlas.dot.gov>
  6. Keywords: PATADOX
  7. Organization: U.S Dept. of Transportation
  8. References: <1992Oct30.200708.9970@digi.lonestar.org>
  9. Date: Wed, 4 Nov 1992 18:59:38 GMT
  10. Lines: 28
  11.  
  12. elin@digi.lonestar.org (Eddy Lin) writes:
  13.  
  14. >Does anybody know how to do this in PAL.
  15.  
  16. >I am in form edit mode editing a linked multiple-table. The detail 
  17. >table has multiple records. When a specific field in the detail table
  18. >is entered, for example a serial number, I want to be able to find
  19. >the serial number in other table and import the description about
  20. >this serial number into the current record of the detail table.
  21. >PARADOX seems doesn't allow query operation when it is in the edit
  22. >mode. Although I might be able to search for the serial number
  23. >after I call FRMKEY to switch to table view. But when I switch back to
  24. >the form edit mode, do I lose the cursor position ? (Remember the 
  25. >cursor was in one of the records of the detail table). 
  26.  
  27. >I think unable to perform query in the edit mode is a serial 
  28. >weakness. Any Comment ?
  29.  
  30. Use a TableLookup to get the information out of the second table.  Edit the
  31. detail table using the imbedded form, then specify the table lookup under Val
  32. checking.  In fact, if you use HelpAndFill, the person entering the data
  33. can choose the desired serial number off a table-view list.
  34. The only disadvantage of this method is that the serial numbers to be
  35. entered must _already_ exist in the lookup table, because only s/n-s from
  36. that table will be valid entries.
  37.  
  38. -JTT
  39.  
  40.