Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Optional Script parameter value and Find Requests

Featured Replies

  • 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

Try processing the string with the Evaluate() function.

  • 3 weeks later...

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

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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.