Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I am creating a calculation as part of a menu set and I wonder if there is a way to create a 'Set Variable' type calculation that for e.g.

$Layout 1 = "Layout 1"

Within the Menu set Action: Perform Script, I would be able to use only one script that could;

Go to Layout: $Layout 1

Does that make sense?

Make the Let function?

Posted

I suspect it would make more sense to use the script parameter here. A calculation can create a variable, but it is not clear from your question what would cause the calculation to evaluate and when.

Also keep in mind that local $variables are limited in scope to the current script.

  • Like 1
Posted

Yes, sorry, I wasnt clear myself. In the end as part of the Menu Item Name, I created a Global Variable using athe Let function. The susbsequent script then used that variable to take the user to the correct layout. Seems to be working well. Thanks for your advice.

Have a great day

This topic is 4465 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.