Partha Posted December 7, 2001 Posted December 7, 2001 Hi, Am trying to script a 'Back' button that works like an internet browsers' 'Back' button for a solution I've made for a non-Techy friend. Came across a problem that stumped me. The "Go to layout" command only takes a layout number, so I can't ask it to go to a layout by name. Using a 'Go to Layout' by number is fine for a "Back" script if I'm navigating in the same file. Trouble is, the solution is currently using 12 files. If I go to another file, even though I've got the File name and the layout name along with the layout number, can't work out a way to tell FileMaker which file to go to before it goes to the layout number. Would appreciate any help that could even give me a glimpse of an idea. Thanks in advance. Partha Dasgupta
Garry Claridge Posted December 7, 2001 Posted December 7, 2001 Maybe you could have a 'central' file which just has Global fields for keeping track of file and layout navigation. All the best. Garry
Partha Posted December 7, 2001 Author Posted December 7, 2001 Hi, I do have a central file where I set the File name, the layout name & the layout number. Issue is, FileMaker's "Open" command can not take values from a field, and must be pointed to a file. So how do I go to a layout in another file ? TIA, Partha
Partha Posted December 7, 2001 Author Posted December 7, 2001 Thanks Garry Claridge. Got it. In the central file, created a script that checks the name of the file I've come from that I'd set in a Global field. This looped If script goes to the relevant file, and then the layout number. Thanks again. Partha
Recommended Posts
This topic is 8391 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