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

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

Recommended Posts

Posted

Hi All,

I am trying to access a layout based on calculation result. Actually I have app 50 layouts and I want to access them based on users name and few other conditions which I have stored in calcualtion field and have named layout names in that way. Is there any way, I can access layout like "Go to Layout(Layoutname)" where Layoutname is a field not selected from drop down list.

Thanks in advance

Aditya

Posted

You can use the script step Go to Layout(LayoutNumber) which is the next to last option for this script step. Regardless of what you named the layout, they have a number associated to them by the order they are listed in when you are in Layout Mode. Go to the Set Layout Order dialog box and you can put the layouts in any order. If your script step says go to layout #4, the fourth layout in the list is what will appear.

HTH, Mike

Posted

You can get the list of layouts in proper order with the design function layoutnames(status(currentdatabase)). You could use that for a dropdown list , or query that list (for the position (patternCount(Middle(layoutnames, 1,Position(layoutnames, mylayoutname,1,1))," par.gif ")

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