Jump to content

Passing multiple script parameters


This topic is 5722 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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/

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This topic is 5722 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Who Viewed the Topic

    1 member has viewed this topic:
    Dave Howell 
×
×
  • Create New...

Important Information

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