AnsweredAssumed Answered

variable empty/blank on first run

Question asked by sq on Jan 30, 2009
Latest reply on Jan 30, 2009 by TSGal


variable empty/blank on first run

Description of the issue

 FileMaker Product(s) involved:FileMaker Pro Adv 10.0v1 Operating System(s) involved:Mac 10.5.5 Detailed description of the issue:I have a script that is called using a parameter.  The parameter is then set to a variable.The first time I open the window and click a pull-down that runs a script trigger OnObjectModify and watching the data viewer the $x variable does not show and the script does not run properly.Run again and the $x variable does show in the data viewer and the script runs fine.  Exact steps to reproduce the issue: 1.  Run a script to go open a new window 2.  have a pull-down that is a global field that runs a script trigger OnObjectModify and pass a parameter. 3.  In the script, Set Variable [$x ; Get(ScriptParameter)] 4.  Select the pull-down and watch the data viewer. Expected Result:Set Variable should work show the value every time.  Actual Result:Set Variable does not get set on first run of script when just going to a new window.  Exact text of any error message(s) that appeared:N/A Any additional configuration information/troubleshooting that is relevant to the issue:none  Any workarounds that you have found:none