January 23, 200620 yr 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
January 23, 200620 yr 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/
January 25, 200620 yr 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
January 25, 200620 yr I've never passed more than three but I am not aware of a limitation on how many can be passed. Mike
January 25, 200620 yr 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
Create an account or sign in to comment