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.

Multiple parameters

Featured Replies

I need to pass 2 variables to a script, is this possible somehow... cause i seem to miss the function of defining custom variables in the scripting of FM7 (used to work with Access which allows this in the VB scripting/programming).

Thx in advance

Lookup the Evaluate function in the FM7 application help. It shows an example of using the Evaluate function to parse multiple script parameters.

  • Author

I read the example, but it uses two variables and i want to send 2 database attributes. So the values of offer::offerID and offer::carID have to be sent to an other lay-out... i can't get it working.

I have seen another technique to accomplish this at filemakermagazine.com....

Pass the parameters as a return-delimited list, and retrieve them using the middlevalues() function.

This seems much more straightforward to me than the evaluate() technique in FM help.

  • Author

can you maybe provide an example?

Still, this is also very helpfull... i'll go search their site!

greetz

Filemaker does NOT define what a "parameter" is, so you could pass anything, including a value list or a set of related data.

In you simple example you could pass the following "parameter" - Sales | New Record

Then you scripting could parse out the Sales part and the New Record part as 2 seperate parameters.

Here is a (useless) example.... but it illustrates what I'm talking about.

param.fp7.zip

Check the tips & tricks section where I posted a sample file a few week back. It shows how to pass 3 vairables; in this case the RGB values.

  • Author

thanks i'll check it out.

Reed -

That was a pithy and very helpful "useless" example. You answered about 14 of my questions simultaneously.

Many thanks.

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.