The best way to tell if there are actual related records is to test for them using IsValid ( Relationship::Field ) before you do your GTRR. Tim Mansour <[log in to unmask]> Neologica Print & Promotions ABN 63 904 335 408 Certified FileMaker 10 Developer PO Box K1163 : Haymarket NSW 1240 Mobile 0405 500 846 On 22/06/2011, at 20:26, Peter Buchanan <[log in to unmask]> wrote: > When using the Go to Related Record script step, is there a specific error > code to look for with Get Last Error, for example if there are no related > records? I am trying to figure out what happens if there are no related > records : > > I am using GTRR, and then importing the related records into another table. > How do I ensure only the related records (matching the current record) are > imported? Will GTRR still go to the layout (in related table) specified in > this command, even if no related records? Will the found set in related > table be nil records if no related records, or will it comprise all records? > > Much appreciate any advice on checks to use with this script step. > > Regards > Peter