>Thanks for your help. This is a good idea. I was able to implement the On Shutdown (courtesy of Elmer Adkins) and it worked.
OK, I am glad that you solved it.
I have used this method, to check every 2 minutes for a certain file in a shared directory, successfully. When I needed to kick out all users, I just created the file.
The Timer checks every 2 minutes; also, the program check for the existence of the special file, on startup (before opening tables), shows a warning, and quits.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)