Find Script works in 11 but fails in 10
10 & 11
Mac OS 10.6.6
Set Variable [ $$Panel; Value:Forms::Panel ] Copy [ Forms::Panel ]
[ Select ]
Perform Script [ “Set Panel” ]
Go to Layout [ “Elements Form” (Elements 2) ]
Perform Find [ Specified Find Requests: Find Records; Criteria: Elements 2::Panel: “=$$Panel” ] [ Restore ]
Searches for ==$$Panel instead of its value.
Including a variable in a restored find was a feature newly added in FileMaker 11. It won't work in 10.
This script will work in both versions:
Enter Find Mode
Set Field [Elements 2::Panel ; $$Panel]