🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.databases
Article #613

Re: Auto-modification date in FM

#613
From: Mike Gordon
Date: Mon, 11 Jan 1993 21:14
39 lines
2053 bytes
In article <1993Jan11.203119.10597@Newbridge.COM> jeffl@Newbridge.COM (Jeff Laks - qmail) writes:
>In our db, we have defined one of the fields as an auto-entry field for 
>the modification date.  So, everytime I change the data in a record, the 
>date will change to reflect this.  The problem arises when we do a 
>'relookup' - we have two dbs linked, and if you do a relookup, it obviously 
>does a comparison search on every single record and therefore updates the 
>modification date for every single record! 


Jeff,
     
    Add a serial number field to your database and tell your script to find
the current recor before you issue your relookup command.   Then do a Find All 
to get back to all your records.

Here's the script: 
 

Copy                Serial_Number
  Select entire contents     
 
Enter Find Mode
 
Paste               Serial_Number
  Select Entire Contents

Relookup
  Perform Without Dialog

Find All


     Oh, one other thing.  You have to put the serial number field in the 
layout that you'll be doing the search from.  I set mine to a 1 point yellow
typeface (yellow doesn't show on the B/W monitors) and make it non-printing, 
delete it from the tab order, and push it off the right side of the screen.
This makes it more-or-less invisible to the user.

Mike Gordon  N9LOI  mwgordon@nyx.cs.du.edu
Technical Details
Message-ID: <1993Jan11.211421.5481@mnemosyne.cs.du.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!mnemosyne.cs.du.edu!nyx!mwgordon
References: <1993Jan11.203119.10597@Newbridge.COM>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.mac.databases
Path: arc1-ca.pugleaf.net!sparky!uunet!mnemosyne.cs.du.edu!nyx!mwgordon
From: mwgordon@nyx.cs.du.edu (Mike Gordon)
Subject: Re: Auto-modification date in FM
Message-ID: <1993Jan11.211421.5481@mnemosyne.cs.du.edu>
X-Disclaimer: Nyx is a public access Unix system run by the University
 of Denver for the Denver community.  The University has neither
 control over nor responsibility for the opinions of users.
Keywords: Filemaker
Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
References: <1993Jan11.203119.10597@Newbridge.COM>
Date: Mon, 11 Jan 93 21:14:21 GMT
Lines: 40