Re: FMP5 & Current Record
Re: FMP5 & Current Record
- Subject: Re: FMP5 & Current Record
- From: John MacDonald <email@hidden>
- Date: Sat, 4 Nov 2000 12:25:43 -0400
Can someone explain in a little more detail when to use 'document' and when
to use 'database', not just in getting a field? Sometimes they seem
interchangeable. When are they not so?
As mentioned by others, use database to refer to all records, use
document to refer to the current 'found set' of records.
Document and Database are the same, of course, when all records are
found (none are omitted).
Be a little careful doing finds with AppleScript.
I had a big project in version 4 of FileMaker. An AppleScript step
performed a find then did some other things. It all worked fine but
in the wrong order because the AppleScript didn't wait for the Find
to complete before continuing.
I ended up re-crafting the Find operation to be done in FileMaker's
ScriptMaker.
Like other things in FileMaker, you may find that the scripting
implementation is a bit quirky.
-John