Hi,
I have a module that imports data from CSV files and then deletes and modifies certain data using a number of action queries.
It works fine but when I attempt to open a query based on one of the tables that has been modified, it tells me that the table is opened exclusively by another user.
The code im using to execute the queries for each query is as follows:
I have a feeling this is where the problem lies. How can I 'unlock' the tables without leaving the db?
Thanks,
meboz
I have a module that imports data from CSV files and then deletes and modifies certain data using a number of action queries.
It works fine but when I attempt to open a query based on one of the tables that has been modified, it tells me that the table is opened exclusively by another user.
The code im using to execute the queries for each query is as follows:
Code:
Set qdf = db.QueryDefs("some_action_query")
qdf.execute
I have a feeling this is where the problem lies. How can I 'unlock' the tables without leaving the db?
Thanks,
meboz