Jump to content
Claris Platform 2023 Roadmap ×

'Back' button


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

Recommended Posts

I want to set a button up in my database that allows end users to return to the previous layout. For example, they may be viewing some information they have just searched for but want to quickly view another layout. I need to place a button on the second layout so that they can return (back button) to the previous layout. Much like the back button on a web page. This is different from pressing a button to go to a layout, it needs to 'memorise' where they were before and take them back.

Any help greatly appreciated! Many thanks

Link to comment
Share on other sites

In my applications I do like this:

I have a global field which stores the last layout visited.

In the script moving the user from layout 1 to layout 2 there is a line:


Then you can use your back button with the line:

Go to layout (Getfield(storedlayout))

Link to comment
Share on other sites

Hayley, building navigation history is not a simple problem. David's suggestion gives you the last layout visited, but it is likely you would want to go back several steps from any given layout. Also, as you navigate backwards, it is likely you would want the found sets (and possibly sort order) to be what they were at the time you visited them.

So to build this history to accomodate all that, you would need to keep not only a history of the layouts visited, but the found sets while on those layouts. This would probably be done by having a record in another file for each change in navigation (layout change or found set change.) Then you'd need routines in each file (tied in with your navigation buttons,) to add records in this Navigation History file and retrieve the next and previous layout/found set visited.

Though I haven't built a solution with navigation history, I know there are people who have.

Link to comment
Share on other sites

Thanks David and Ender.

I will try david's solution, so at least I have some sort of return button. But, Ender you are right that I will need to retain history of previous visits to other layouts. Something I will try when I have plenty of time on my hands!

Thanks again to both of you


Link to comment
Share on other sites

  • 2 weeks later...
  • 7 months later...


You have my curiosity piqued. Where is the documentation for FM Advanced for an advanced navigation solution? (Also, I have only the electronic documentation for 7, which is about 100 or so pages.) I really would love to be able to create a web-like navigation solution for my system.

Link to comment
Share on other sites

  • 3 weeks later...

This topic is 6552 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
  • Create New...

Important Information

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