RoadrunnerRay Posted September 8, 2004 Posted September 8, 2004 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
Philland Posted September 8, 2004 Posted September 8, 2004 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
RoadrunnerRay Posted September 8, 2004 Author Posted September 8, 2004 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"!!
Lee Smith Posted September 8, 2004 Posted September 8, 2004 A file opened by a relationship is open hidden.
Lee Smith Posted September 8, 2004 Posted September 8, 2004 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
RoadrunnerRay Posted September 8, 2004 Author Posted September 8, 2004 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!!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now