Jump to content

My startup script will not launch


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

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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