Hello Mark, In order to work, your applescript has to read something like the following: tell application "FMP6" go to database "2.fp5" -- bring to front tell database "2.fp5" do script "RelatedRecords" end tell tell document "1.fp5" get every record of layout "Data Layout" end tell end tell Cheers! Joe > On Nov 8, 2006, at 9:31 AM, Bill Steele wrote: > > >> My suggestion was to use a filemaker script that has > one step >> > >> goto related record [Show only related records] > >> > >> Then have an applescript which is > >> > >> Tell application "FileMaker Pro" > >> do script "RelatedRecords" > >> get every record of layout "Data Layout" > >> end tell > > > > --> "Object not found" > > --