Re: Iterating over a set of FMP records with Applescript
Re: Iterating over a set of FMP records with Applescript
- Subject: Re: Iterating over a set of FMP records with Applescript
- From: Walter Ian Kaye <email@hidden>
- Date: Sat, 21 Feb 2004 14:26:44 -0800
At 03:28p -0600 02/21/2004, Chap Harrison didst inscribe upon an
electronic papyrus:
I get "record 1 of all records with a particular ID" (the only
record, one hopes), and I make that the current record.
I didn't know you could use 'current record' like that.
Are you sure that's supposed to work?
I would try something like...
try
tell application "FileMaker Pro"
tell database gLineItemsDB
set myIDList to ID of (every record whose cell "Price" is "*")
repeat with myID in myIDList
set myInvCode to cell "InventoryCode" of record id myID
display dialog myInvCode
end repeat
end tell
end tell
on error myMsg
display dialog myMsg
end try
-boo
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.