Skip 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.

Passing multiple script parameters

Featured Replies

Hello, I am trying to pass multiple parameters using a button, is there an easy way to do this? I am using FM7

Thank You!

Rick DeCollo

Yes there is. I'm certain that there are threads here on that very subject so try doing a search.

If you have FM7 Developer you can create a reusable custom function that will make it quite easy to do. Check out Brian Dunning's web site for a big list of custom functions free for the taking.

http://www.briandunning.com/filemaker-custom-functions/

Multiple parameters are not difficult. When you specify the script to be run by the button, use & ¶ & between the variables. The ¶ is used by FileMaker as the delimiter between the parameters.

The script that is receiving the parameters will have to use Leftvalue, Middlevalue and Rightvalue functions to correctly interpret what is being passed.

HTH, Mike

  • Author

Thank You!

I think I can make that work!

Can we pass values for more than three?

Cyont

I've never passed more than three but I am not aware of a limitation on how many can be passed.

Mike

There is a custom function thread about this in:

http://fmforums.com/forum/showtopic.php?tid/120048/post/128688

Specifically, what I find useful is the ParamByName function. I like naming my parameters, because in my advancing age, I find I forget whether parameter 1 or 3 was the one for field size (or color, or font, or ...?)...

HTH,

David

Another angle is this:

http://tokerud.typepad.com/filemaker/

--sd

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.