Brian Dunning's FileMaker Custom Functions

GetResultParameter ( ParameterName )

Extract a value by name from a ScriptResult

  Average rating: 4.3 (30 votes) Log in to vote

Will Loving   Will Loving
Dedication Technologies, Inc.
http://studioschoolpro.com

Share on Facebook Share on Twitter

  Sample input:
GetResultParameter( "LastName" )
  Sample output:
Dunning

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

This is an extremely minor variation of Daniel Kaan's excellent GetParameter custom function. Daniel's original function allows you to extract a parameter by name from a ScriptParameter. This function is exactly the same except that it works on ScriptResult instead (ScriptResult is a parameter that is specified by the ExitScript step allowing data to be passed back to the original script...essentially the reverse of a ScriptParameter).

Update 2017-Nov-20: Added & "=" to linestart parameter in order to handle parameters that may contain other parameters, e.g. "version" and "version_developer" (Thanks, Stephen).

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.