Skip 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.

Close all open FMP databases?

Featured Replies

I must be missiong something...

I run hundreds of scripts at night and inevitably I hit the max 50 databases open...

SOOOO ... I fire off close such and such a database scripts in my master script... but maybe I'm blind BUT I just can't find a close all open databases command OR 'Close all but front'

Vanna can I buy a clue?

Fritz

you are not blind.

here a way in applescript

tell application "FileMaker Pro"

repeat with i from 2 to 50

if exists window i then

try

close window i

end try

end if

end repeat

end tell

  • Author

Sadly (sez THIS 19 year Mac Bigot) this for my paying job as a windows IT guy (don't hurt me).

So applescript is not an option...

I can't believe that FM6 still doesn't have a 'close all but front' command.

thanks anyway.

Fritz

I'm sure a script could be made to close all open databases, probably using a loop and the Databases and PatternCount() functions. It's too early in the morning for me to think about it now though!

"I'm sure a script could be made to close all open databases, probably using a loop and the Databases and PatternCount() functions."

hmmm..

the Close[] script step require that the database is specified trought the standard "open" dialog window. You can't specify it with a calculated value.

Fritz, why don't you set each script to close the used files at the end of the task?

  • Author

Thanks much for the responses...

Paolo, I think my best option may be to do some closing at the individual script levels.. and NOT try to do it in the master script.

I really appreciate the responses...

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.