robrsla Posted March 30, 2010 Posted March 30, 2010 I added a new file to work with my solution. I've established a relationship between the new file and a file within the solution. (solution has 5 files/ modules that all open upon opening the main file) I cannot get the new file to open as the others do when I launch the solution. What am I doing wrong? More over, what controls which files launch upon opening a files within a solution. I always thought it was the relationship. WHen I open the main menu. the related files open but not the new file which has an established relationship.
Ocean West Posted March 30, 2010 Posted March 30, 2010 the best approach in your main file is to run a startup script that runs a script that script targets a script in each separate file. The startup script could be simple as going to a layout and then hiding the window. This ensures that all the files are opened and credentials are properly passed to all files. FileMaker will open files as it needs them once you land on a layout that has a related fields. However this method will not invoke the startup script set on these files. Some developers also setup a startup script in the support files so that if a user double clicks or launches them remotely that they, point back to your main file since the support files may or may not have user interface.
Recommended Posts
This topic is 5412 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