Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

When i use Excel i can place VBA code into the Before_Workbook Close event, to establish if there are Other workbooks open.

If there is the active workbook is closed.

If there are no other workbooks opened, then Excel is closed off completely(exit application).

Is there a way to do this in Filemaker? To either Close the file or Exit the Application, depending on whether another file is opened?

Posted

Look in the File Options (in the File menu) there is the options to set scripts to run at file open and file close.

Posted

I understand the File options when a file opens/closes, i do not understand how the calculation is applied to find if another file is opened though.

Does it need to refer to the file names, or is there a calculation function that refers to files if they are open?

Posted

You can return a list of open files with DatabaseNames from the Design functions suite.

This topic is 5459 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.