February 26, 200223 yr 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!!!
February 26, 200223 yr 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.
February 26, 200223 yr 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.
Create an account or sign in to comment