Scheduled Shutdown of Dbase

Local time
Tomorrow, 01:44
Joined
Jul 12, 2006
Messages
70
Hi,

I've searched the forum for a sample code on how to automatically shutdown database at a given time of the day, but i can't find any. There are lots of codes pertaining to inactivity / idle users but none on scheduled time.

My idea is to kick-off all users every 12:00nn, Monday to Saturday and then compact / backup database after.

I hope someone could assist me.

Thank you!


Sheila
 
You can use the main forms timer event to check if it is the specified time and then use Application.Quit to close the db.
 

Users who are viewing this thread

Back
Top Bottom