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.

Can i stop it from opening multiple windows??

Featured Replies

Hi All

I have a problem with FM8 that when it's used as a host (i.e. without Filemaker server) it often opens up several windows of the same file at the same time which causes problems trying to modify records in one window as another one is open.. it has also caused me problems running scripts where a search is made in one window and another file is meant to import that data and ends up importing ALL records in the file - which i think is happening because it's importing from the other window of that same database where the search is not performed..

I can't understand why they added that feature in the first place, it has only caused me grief so far, I can't see the benefit frankly.. what am i missing?!

thanks for the help anyway..

I am confused as to how your solution is causing multiple instances of the same layout to open into separate windows...

Do you allow your users to open a new window of the same layout in your solution?

You may want to consider renaming your open windows and track them in another table so that you can have a bit more control over things...

Maybe you should consider locking your solution down a bit so that it will only be allowed to have 1 window open for 1 specific layout at any given time...

  • Author

how can i restrict it from opening more than one window of the same file at the same time? is it a setting somewhere?

Somewhere in your scripting you are telling it to open another window, either in a New Window script step or a Go To Related Record script step. If the New Window requires user interaction then use the Allow User Abort & Pause/Resume script steps which will try to simulate a Modal Window (see definition from Wikipedia below). I say "try to simulate" because the user can still close out the main application (FileMaker Pro) but can not work within any other windows within FileMaker. I have had users think their computer had locked up and used the X (close) button on the main FileMaker App.

Example attached, use the Other Orders button on the Order layout to see an example of FileMakers "Modal Window".

Modal Window - In user interface design, a modal window (often called modal dialog because the window is almost always used to display a dialog box) is a child window which has to be closed before the user can return to operating the parent application.

MyDB.zip

Excellent suggestion, sbg2! :worship:

Just what I was looking for!

Oooops...

sbg2, I have a problem trying to adapt your scripts to my environment...

Here's the problem: when my script hits the Pause/Resume Script, it displays a "Continue" button (in the status area).

And I have to hit that button, at the end of the process of coming back from the second window.

How come??? When I run your scripts, this button doesn't appear...

I've looked everywhere to see if there's a parameter, etc. and couldn't find one...

Thanks for your help!

Right click the Cancel button on the Other Order layout from the provided example. The drop down for what to do with Current Script specifies Exit. The drop down default is Pause which you probably have selected in your enviroment.

I have to admit I dislike the Pause/Resume script step. I seem to tie myself in knots sometimes when trying to get out of a paused situation.

Right on, sbg2! Thanks!

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.