Go To Related Record fails to update found set when there are no matching records.
Description of the issue
I've been puzzled by this one since scripts that I've converted from a FMP 5.5 version seemed to work as expected unless I "touched" the relationship definition in some way. I think I now have this figured out: The script step will fail to update the found set if the Go To Related Record [Show Only Related Records]: a) Specifies a layout by name and...b) There are no matching records in the related table. Instead of showing an empty found set, you get whatever state the found set was in prior to this step's execution. If I use a separate script step to go to the desired layout and then used "Go To Related Records..." with [Current Layout] specified, the script works.