Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

How do I add a script that runs upon the user opening the database over FM Server running in OSX? I just want to find all records and create a new record.

Furthermore, when the user quits the solution, I want to ensure that a script runs.

Posted

Hi Jason,

Put the opening script in File Options > 'When opening file, Perform Script.'

Put the closing script there as well, under 'When closing file, Perform Script.'

:wink:

Posted

Ooops. User. Do you also need to capture the User in a global gUserAccount field? Then your opening script can fire depending upon the User. I'm a bit unsure of which you need but I hope it helps anyway.

Posted

Put the opening script in File Options > 'When opening file, Perform Script.'

It's a little more complex than this. This routine does not necessarily guarantee that the script will run. If this is a critical routine, then you have to go beyond this step to assure that the script does run.

Steven

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