May 8, 200124 yr Newbies I've created a large database with a number of tabbed layouts and now they want a browser type back button - anyoneone know a script that can do this? Thanks in advance
May 8, 200124 yr 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. -bd
May 9, 200124 yr Check www.databasepros.com (John Mark Osborne's site). He has the scripts already worked out for you.
May 9, 200124 yr Author 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
Create an account or sign in to comment