[AccessD] How to shut down Access

Jim Dettman jimdettman at verizon.net
Fri Jan 27 08:00:35 CST 2012


<<Does anyone know a way to directly get a pointer to any open access
instances and force them to close?>>

  Bad idea.  You should build it into the app, which is easy enough to do.
Just open a hidden form at startup with a timer even set to something like
every 60 seconds.

  Then have it check for a flag to see if the app should be closed (file on
disk, record in a table, or whatever) and if so, do cleanup tasks and issue
an application.quit.

Jim.

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby
Sent: Friday, January 27, 2012 08:06 AM
To: Access Developers discussion and problem solving
Subject: [AccessD] How to shut down Access

The client wants to shut down Access for doing a backup.  The backup kicks
off in the middle of the 
night and they need a way to terminate the access application.  I do not
have anything built in to 
my stuff to do this.

Does anyone know a way to directly get a pointer to any open access
instances and force them to close?
-- 
John W. Colby
Colby Consulting

Reality is what refuses to go away
when you do not believe in it

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list