Rick DeCollo Posted January 23, 2006 Share Posted January 23, 2006 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 Link to comment Share on other sites More sharing options...
Ted S Posted January 23, 2006 Share Posted January 23, 2006 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 More sharing options...
Mike D. Posted January 25, 2006 Share Posted January 25, 2006 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 More sharing options...
Rick DeCollo Posted January 25, 2006 Author Share Posted January 25, 2006 Thank You! I think I can make that work! Link to comment Share on other sites More sharing options...
Cyont Posted January 25, 2006 Share Posted January 25, 2006 Can we pass values for more than three? Cyont Link to comment Share on other sites More sharing options...
Mike D. Posted January 25, 2006 Share Posted January 25, 2006 I've never passed more than three but I am not aware of a limitation on how many can be passed. Mike Link to comment Share on other sites More sharing options...
T-Square Posted January 25, 2006 Share Posted January 25, 2006 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 More sharing options...
Søren Dyhr Posted January 25, 2006 Share Posted January 25, 2006 Another angle is this: http://tokerud.typepad.com/filemaker/ --sd Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6638 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 accountSign in
Already have an account? Sign in here.
Sign In Now