JitseSchaafsma Posted February 9, 2005 Posted February 9, 2005 I have a set of databases connected through different relations. Each database has a startup script that is launched when the database is opened. So fa so good. Now i have one database (it is a child database) of which the startup script is not launched when the database is opened during a relation calculation in my main database. All other child databases work perfect. If i open this database directly the startup script is launched. I have tried 1] renaming the script and resetting the document setting 2] recover the database 3] pulled out my last hair (that wil not do the trick anymore) Please advise on this thanks Jitse
Vaughan Posted February 9, 2005 Posted February 9, 2005 That's right, the startup script is only invoked when the file is opened by double-clicking on the file or calling it through an Open script step. Startup scripts are not invoked when a file is opened indirectly, like through a relationship. -- "We have normality. Repeat, we have normality. Anything you still can't cope with is therefore your own problem." -- Douglas Adams, Hitch Hikers Guide to the Galaxy.
Hijack Posted February 10, 2005 Posted February 10, 2005 I'd call your related databases to open with an Open File step when the parent database opens and its StartUp script runs. That should ensure that the child startup scripts run.
-Queue- Posted February 10, 2005 Posted February 10, 2005 Make sure that you are not a layout containing a related field when the main file opens or the relationship will also force the file to open without running its startup script.
Recommended Posts
This topic is 7229 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