March 18, 200421 yr Newbies Hi, FM 7. Is it possible to use the value of the "Optional Script parameter" (for a button that triggers a script) in the Find Request Criteria box of a Perform Find action in the script which is triggered by the button? I have created two buttons which both trigger the same script. The first button needs to tell the script to look for all invoices in which field TYPE has value A, the second button tells to look for value B. Now it seems that in the Find Request only static values can be entered. No other field values can be used (like a global field value), nor the result of the "Get(ScriptParameter)" function. It will literally search on the entered text, so instead of looking for "A" it will look for "=Get(ScriptParameter)". Thanks, Kurt. Version: v7.x Platform: Mac OS X Panther
April 5, 200421 yr I'm struggling with a similar issue, which is that there seems to be no way to do a Perform Find in a script using the contents of some variable as the match field. Processing the string as you suggest, isn't going to do any good. How does one actually use the result in the Find request? Ken FileMaker Version: Dev 7 Platform: Windows XP
April 5, 200421 yr Use the Set Field script step to set the find criteria. Enter Find Mode [] Set Field [ <My Field>, Get(ScriptParameter) ] Perform Find [] FileMaker Version: Dev 6 Platform: Mac OS X Panther
Create an account or sign in to comment