home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / database / 1692 < prev    next >
Encoding:
Text File  |  1993-01-11  |  2.0 KB  |  56 lines

  1. Newsgroups: comp.sys.mac.databases
  2. Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!mwgordon
  3. From: mwgordon@nyx.cs.du.edu (Mike Gordon)
  4. Subject: Re: Auto-modification date in FM
  5. Message-ID: <1993Jan11.211421.5481@mnemosyne.cs.du.edu>
  6. X-Disclaimer: Nyx is a public access Unix system run by the University
  7.     of Denver for the Denver community.  The University has neither
  8.     control over nor responsibility for the opinions of users.
  9. Keywords: Filemaker
  10. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  11. Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
  12. References: <1993Jan11.203119.10597@Newbridge.COM>
  13. Date: Mon, 11 Jan 93 21:14:21 GMT
  14. Lines: 40
  15.  
  16. In article <1993Jan11.203119.10597@Newbridge.COM> jeffl@Newbridge.COM (Jeff Laks - qmail) writes:
  17. >In our db, we have defined one of the fields as an auto-entry field for 
  18. >the modification date.  So, everytime I change the data in a record, the 
  19. >date will change to reflect this.  The problem arises when we do a 
  20. >'relookup' - we have two dbs linked, and if you do a relookup, it obviously 
  21. >does a comparison search on every single record and therefore updates the 
  22. >modification date for every single record! 
  23.  
  24.  
  25. Jeff,
  26.      
  27.     Add a serial number field to your database and tell your script to find
  28. the current recor before you issue your relookup command.   Then do a Find All 
  29. to get back to all your records.
  30.  
  31. Here's the script: 
  32.  
  33.  
  34. Copy                Serial_Number
  35.   Select entire contents     
  36.  
  37. Enter Find Mode
  38.  
  39. Paste               Serial_Number
  40.   Select Entire Contents
  41.  
  42. Relookup
  43.   Perform Without Dialog
  44.  
  45. Find All
  46.  
  47.  
  48.      Oh, one other thing.  You have to put the serial number field in the 
  49. layout that you'll be doing the search from.  I set mine to a 1 point yellow
  50. typeface (yellow doesn't show on the B/W monitors) and make it non-printing, 
  51. delete it from the tab order, and push it off the right side of the screen.
  52. This makes it more-or-less invisible to the user.
  53.  
  54. Mike Gordon  N9LOI  mwgordon@nyx.cs.du.edu
  55.  
  56.