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.

Closing all windows but one of current database

Featured Replies

Hopefully someone has discovered a more elegant solution to this problem. I have a database that makes extensive use of multiple windows. When finished, I want the user to be able to logout, closing all windows and returning to the login window. My first solution was roughly like this:

Loop

Exit Loop If ( ValueCount ( WindowNames ) ? 1 )

Close Window [ Substitute ( MiddleValues ( Get ( WindowNames ) ; 2 ; 1 ) "

  • 2 weeks later...

You might be able to use the TableNames function to get a list of all tables in the file, and then user Get( LayoutTableName ) to get the table that the current layout is connected to, and then compare and see if Get( LayoutTableName ) is found in TableNames, but I don't know yet how you're going to know when you're at the last one and keep from closing it.

However, since you're creating these new windows, probably with scripts, you've named them, right? So you know the names of the windows you want to close. Can't you use that to close all the windows that you've created?

Chuck

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.