DanBrill Posted February 19, 2003 Posted February 19, 2003 Hi, I'm trying to make a script that will take a user back to the layout that they previously had been on before arriving at the layout which they are currently using. Is there a way to do this? It seems that if a user's layout could be recorded in a global field, then returning them to this layout might not be too difficult. Am I barking up the wrong tree? Is this possible at all? Thanks, Dan
SteveB Posted February 19, 2003 Posted February 19, 2003 You are not barking up a tree. Filemaker will allow you to return to any layout based on layout number that you can save in a global field: SetField(gLast Layout #, Status(CurrentLayoutNumber)) script steps here GoTo Layout(field, gLayout #) For this last step, use goto based on a field which is at the bottom of the layout list.
harryk Posted February 20, 2003 Posted February 20, 2003 The 'Go to lay-out" script step also offers the possibility to go to the 'original layout', the layout that was active before the current lay-out. Harryk
DanBrill Posted February 20, 2003 Author Posted February 20, 2003 Thanks! That does the trick. Glad to know my tree wasn't barked up in vain. Dan
Recommended Posts
This topic is 7950 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 accountSign in
Already have an account? Sign in here.
Sign In Now