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.

close related files only if hidden?

Featured Replies

  • Newbies

Is there a way to close related files only if they're hidden? I've got seven database files that are related in various ways. If I close one of the main files, say file A, I want it to close the rest of the files so they're not left hanging open in the background. However, if I also have one of the other main files, say file B, open and _not_ hidden, I'd like that to stay open when I close file A and close any of the other 5 files that are not hidden.

  • 4 weeks later...

Tricky one! Doesn't look like FileMaker provides a Status function for this, but you can do it with an AppleScript.

tell application "FileMaker Pro"

if exists menu "(FileName)" of menu "Window"

close database "FileName"

end if

end tell

Define a script in the main database:

Close (related file a)

Close (related file ???

Close (related file c)

Close (related file d) etc

In the main database, go to the Document Preferences and set this as a shutdown script. now when you close the main database all the related databases in the script will also be closed.

Vaughan, he only wants to close them if they're hidden!

Create an account or sign in to comment

Important Information

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

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.