September 8, 200421 yr 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
September 8, 200421 yr 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
September 8, 200421 yr Author 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"!!
September 8, 200421 yr 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
September 8, 200421 yr Author 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!!
Create an account or sign in to comment