Jump to content

Scripting a 'Back' buttom


This topic is 7258 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This topic is 7258 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.