Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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

Posted

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

Posted

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.

Posted

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.

Posted

can you maybe provide an example?

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

greetz

Posted

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.

Posted

Reed -

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

Many thanks.

This topic is 7487 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
×
×
  • Create New...

Important Information

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