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

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

Recommended Posts

Posted

I have a application that includes 6 files. When I open one of the files I want some of the other files to be displayed and others not to be. What triggers which files are displayed and which ones are not?

Thanks, Ray

Posted

A relationship will cause a file to automatically open so that data can be used by the first file. You can designate the file to open hidden, it does not need to be displayed on your screen.

Phil

Posted

Hi Lee, thanks, it appears that the defined relationships control which of the files are opened but not which are opened and displayed.

I had put a open file command for the specific files I wanted displayed in the "open script" script but had a problem with some of the files being displayed and others not displayed. I just went back and deleted all of these open file commands and re-entered them, they now seem to be working. Not sure what the problem was, but will follow the old addage "if it ain't broke don't fix it"!!

Posted

Hi Ray,

Welcome to the voodoo of FileMaker Opening and Closing Scripts.

If you have a script that runs when File 1 is opened, and that Script calls for other File 2 to be opened, it is like opening the other File 2 by hand, and whatever opening procedure you have set forth in the File 2 will happen. You can get around this by having the File 1 call a script in the File 2 that hides it.

HTH

Lee

Posted

Hi again Lee, I knew there had to be some Voodoo or doodoo involved because I was getting inconsistent results. Now I can see what is happening here. Thanks to you and Phil for the enlightenment!!

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