Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Back to last database

Featured Replies

  • Newbies

Has anybody a script for this? B)

I have a solution with 30 databases. One of them is the "HELP"-database, where i have all the help messages. In this database it would be nice to have a button that takes you back to the last database you left, before you went to the "HELP"-database.

Thank you very much in advance.

[ February 18, 2002, 04:17 AM: Message edited by: Jan K ]

What operating system and what vrsion of FIleMaker Pro are you using?

Old Advance Man

  • Author
  • Newbies

Dear Old Advance Man,

I am using Windows 98/2000/XP with FMPro 5.0

[ February 18, 2002, 07:57 AM: Message edited by: Jan K ]

You could add a global field PreviousDB (Text)to your help file that is populated when the user clicks the help button from whichever database.

Q. Do you have a constant relationship from each database to the help file ( 1-1 )

If yes you can use the setfield scriptstep from the calling database to

SetField PipeHelp::PreviousDB Status(CurrentFileName)

This will record the file that you were last in.

If not you will have to have a field in each DB that holds the current file name and copy that and paste into the help file.

As for getting back out, you could write a long IF script to check the value of the global field and go to that DB.

This is not dynamic in that each time you add a new file you will have to update the script.

Not sure if Old Man can come up with an easier solution, possibly something dynamic.

Just have the "Help" file ToggleWindow(maximize) when it opens. That way, it'll cover all the other windows. When you close it, the file you came from will still be in front.

I like simple solutions, I do.

Dan,

So simple, yet missed.

Was in the scripting mode when looking at this post and got carried away. Somehow missed the logical answer when writing. Been here for 10 hours straight now, with my mindset in calculations and relationships.

Oh well, maybe take a break and come back later. Let the brain chill for a while.

quote:


Originally posted by danjacoby:

Just have the "Help" file ToggleWindow(maximize) when it opens. That way, it'll cover all the other windows. When you close it, the file you came from will still be in front.

I like simple solutions, I do.

  • Author
  • Newbies

Thank you very much for your clever solutions.

If your database is shared on a network and you close the file on the server then users won't be able to access this file.

I suggest using a close button that simply performs the script "Hide Window" - this way the database directly behind will always appear.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.