December 7, 200124 yr 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
December 7, 200124 yr Maybe you could have a 'central' file which just has Global fields for keeping track of file and layout navigation. All the best. Garry
December 7, 200124 yr Author 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
December 7, 200124 yr Author 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
Create an account or sign in to comment