Calling all records in Filemaker

How does one call for all records to be found in a database from applescript? :shock:

If I search for a certian last name of a customer from applescript

show (every record of database 1 of document "Customers" whose cell "Lastname" = "Smith")

This brings up all the smiths.

If I do another show() then it only looks in the the records with “Smith”
How do I get Filemaker to show all records in that database first?


It looks like this might work:

tell application "FileMaker Pro"
	show every record of database 1 of document "Customers"
end tell

Thanks Rob, your the man!