Hi -- I've been using Applescript with FMP 5/6 for a long time, but writing Applescripts for FMP8 is driving me batty.
I need to convert a lot of scripts that read text input, find the text item in FMP in a certain cell, and then grab data from the record in question, and repeat ad infinitum. Anybody shed some light on what the proper context for this is?
set store_number to (whatever the store number is from the list)
tell application "FileMaker Pro Advanced" tell database "CorpDB" go to layout "MyLayout" show (every record of table "Stores") show (every record of table "Stores" where cell "StoreID" is equal to store_number)
end tell end tell
When I do this it'll find the store number for the first store number on my list, but it'll never go beyond that store.
Any help, or pointers to resources for Applescript FMP8 out there, are appreciated.
Chris
|