Jump to content
Claris Platform 2023 Roadmap ×

script which acts like a browser back button

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

Recommended Posts

To do this you have to keep track of which layouts are visited. For an infinite "back" capability, you might have quite a list of layouts. The functions you need are Status(CurrentLayoutNumber) and Go to Layout (based upon the number in a field). You can create a text global and make a list of layouts by concatenating each new layout to the list followed by a carriage return. This gets more complicated if multiple files are involved. Then, you need to store the file plus the layout. There is no "go to file" based upon the contents of a field. For this you will need to do a bunch of "If" tests in a script. The back button then travels up the list in the global field from last entry to first entry. Another global provides a pointer to which layout in the list you are on (this allows a forward button).

The limitation of this approach is that "Back" to REALLY work may need to restore the found set in place when the layout was visited.

Personally I hate the proliferation of the brower interface. It is poorly suited to so many database designs. Its use has become "if you're a hammer, everything is a nail", well... it's not.


Link to comment
Share on other sites

  • Newbies

Thanks for the info. I knew this was going to be a **** pain in the neck to acomplish. I do have multiple files. I appreciate the help and am going to check out the databasepro site to see if it helps before I begin the inevitable journey to hell. Thanks again

Link to comment
Share on other sites

This topic is 8177 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.