VariablesFromFields ( )
passes the content of all fields on the layout to named variables
Average rating: 4.5 (31 votes) Log in to vote
field "A" that contains "1" and
field "B" that contains "2
$$B = 2
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Great to load settings into global variables in a snap, regardless of the type of the field, where a loop would not stop in a calculation field.
Just place your fields on the layout, and run a script such as
Set Variable [ $temp ; VariablesFromFields ( ) ]
You can even use an unstored calculation, just as the demo file does, and not even neeed to run a script.
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.