Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Can i stop it from opening multiple windows??


This topic is 6781 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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

Posted

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

Posted

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!

Posted

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.

This topic is 6781 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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