Jason Goldsmith Posted May 13, 2006 Share Posted May 13, 2006 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. Link to comment Share on other sites More sharing options...
LaRetta Posted May 13, 2006 Share Posted May 13, 2006 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: Link to comment Share on other sites More sharing options...
LaRetta Posted May 13, 2006 Share Posted May 13, 2006 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. Link to comment Share on other sites More sharing options...
Steven H. Blackwell Posted May 13, 2006 Share Posted May 13, 2006 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 Link to comment Share on other sites More sharing options...
Genx Posted May 14, 2006 Share Posted May 14, 2006 Beyond in what way? Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6555 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