Jump to content

go back to previous layout


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

Recommended Posts

My database has about 100 layouts and involves a lot of "jumping about".. The user has to return to a main navigation pge to get around. It would be helpful if I could include a "go back to previous layout " button on each layout. Answers in words of one syllable please, be gentle, I'm a novice!!!

Link to comment
Share on other sites

If you switch layouts via buttons, you can create a global field. Then script each button to put the current layout name into the global field

Set Field ["gLayout", "Status(CurrentLayoutNumber)"]

then go to the layout you want to go to.

To return, script a button with the "Go To Layout" command, specifying a "layout number from field", and then choose the global field. That will take you to the last layout number placed in the global field.

Link to comment
Share on other sites

Dan,

Good idea, but repetitive strain injury coming on!

Instead create a script for remember original layout, and place at the top of the script list temporarily.

Set Field ["gLayout", "Status(CurrentLayoutNumber)"]

Then perform this from each layout button.

Saves a lot of Set Field, choose the field, set the options.

Just add perform script to the top of each layout script.

Just a thought.

Link to comment
Share on other sites

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