query a table that doesn't exist. That'll force Access to close its ldb
file.
<cfquery name="kill_connections" datasource"yourdatasource">
SELECT *
FROM tbl_nothere
</cfquery>
HTH
will
-----Original Message-----
From: Kris Pilles [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 15:31
To: CF-Talk
Subject: Releasing Access locks with Coldfusion?
Anyone know how to release all locks on an access database via coldfusion?
I am having some trouble with getting one of our datasources to release its
current locking thus preventing me from uploading a new copy of the DB.
Thanks for your help
Kris Pilles
Website Manager
Western Suffolk BOCES
507 Deer Park Rd., Building C
Phone: 631-549-4900 x 267
E-mail: [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists