home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / database / 1425 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.sys.mac.databases
  2. Path: sparky!uunet!munnari.oz.au!uniwa!DIALix!dent
  3. From: dent@DIALix.oz.au (Andrew Dent)
  4. Subject: Re: 4D: Layout ???s
  5. Organization: DIALix Services, Perth, Western Australia
  6. Date: Mon, 09 Nov 92 13:44:07 GMT
  7. Message-ID: <1992Nov09.134407.12926@DIALix.oz.au>
  8. References: <QeyNFVq00UhW85rJ5K@andrew.cmu.edu> <2AFAB445.22726@news.service.uci.edu>
  9. Lines: 20
  10.  
  11. There IS a way to use MODIFY SELECTION to have a list of records from one
  12. file and programmatically jump to another file, it just gets a little messy
  13. to implement first/prev/next/last buttons in the target file.
  14.  
  15. Basically, you have a BLANK input layout in the list file, with a proc
  16. something like:
  17.  
  18. if (Before)
  19.   lookup the [Projects] file based on this [Customer]
  20.   call an edit procedure that does a MODIFY RECORD([Customer])
  21.   CANCEL
  22. end if
  23.  
  24. The CANCEL is so the current blank input layou exits before it is shown.
  25.  
  26. Andy Dent (A.D. Software - Mac & VAX programming)
  27. 94 Bermuda Dve, BALLAJURA  Western Australia  6066
  28. Phone/Fax: 09 249 2719 (local)  +619 249 2719 (International)
  29.        Internet: dent@DIALix.oz.au    Compuserve: 100033,3241
  30.   
  31.