Jim, You can have open a hidden form with code in the Timer property to periodically check what time it is, and quit the app if it succeeds.
Eric > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of jmw95823 > Sent: Tuesday, July 19, 2005 7:23 AM > To: [email protected] > Subject: [AccessDevelopers] Application.Quit Based on Time of Day > > I set up a daily (nightly) backup of a backend .mdb via XP's > Scheduled Tasks utility and it ran fine last night at 11:45 > pm. I've noticed that sometimes the lock file (.ldb) is > there and would like to get rid of it before the backup > occurs (even though you can set the backup to run while files > are still being written to). Can I run code to quit the > application based on time of day? I would want the file > closed (with no .ldb) just before the backup occurs. Thanks > for any help. > Jim > > > > > > Please zip all files prior to uploading to Files section. > Yahoo! Groups Links > > > > > > > > Please zip all files prior to uploading to Files section. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AccessDevelopers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
