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

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

Recommended Posts

Posted

Is there a way to stop a user from using the close command in the file menu and or the close button on the head of the template can you trap that somehow and display a message which tell them to use the button supplied on the template. i have a backup script that runs and i dont want them to circumvent it by doing a end run by just closing the template

Thanks for any help in this matter

grin.gif

Posted

I can do that but i would still like to stop them from just closing the file with out clicking an assigned button think about it if they just close the file i dont think any script assigned in the document preferences work at all or am i wrong

Posted

You are wrong, I use document preferences to back up my dbs both when I open and close. They work (if your script works)!

Or you can use an exit script with a show message dialog but I am not sure how this would look (I am a newbie of all newbies).

Posted

A script assigned in the document prefs "When closing" will run -- that's what that pref is for! -- but it won't stop the file from closing. There are plugins that do that, such as Secure FM <www.nmci.com/> or WindowUtility <www.Practicemaker.com/plugins>.

Posted

the closing script can execute a loop with a pause (1 sec) step so the file never closes until the user clicked the right button ....

Posted

... or holds dowm a modifier key or something. Good call, Christian. I've even used that before... slipped my mind.

Posted

I would like to thank all the kind people that have helped me with this question. The solution was to just attach the script to the closing script preferences and all was fine. This forum is a great resource for all the people that need help with filemaker pro and all the people that give the needed help deserve a round of applause. Thank You All

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