February 19, 200322 yr 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
February 19, 200322 yr 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.
February 20, 200322 yr 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
February 20, 200322 yr Author Thanks! That does the trick. Glad to know my tree wasn't barked up in vain. Dan
Create an account or sign in to comment