G
Guest
I have been using a piece of code for 2-3 years now, but all of a sudden it
has decided to break. I have tried the usual Compact and Repair but it
doesnt seem to fix the problem.
Basically, I am executing a series of SQL statements in VB (db.Execute).
One of the queries decided to start throwing out application errors and
crashing so I changed the code to DoCmd.OpenQuery
The trouble I am having now is when execution gets to the DoCmd statement, I
get the error 2486 - You cannot carry out this action at the present time.
This ends up locking the DB up and I have to go into Task Manager and End
Task to get rid of it!
Can anyone help me?
Cheers,
Steve.
has decided to break. I have tried the usual Compact and Repair but it
doesnt seem to fix the problem.
Basically, I am executing a series of SQL statements in VB (db.Execute).
One of the queries decided to start throwing out application errors and
crashing so I changed the code to DoCmd.OpenQuery
The trouble I am having now is when execution gets to the DoCmd statement, I
get the error 2486 - You cannot carry out this action at the present time.
This ends up locking the DB up and I have to go into Task Manager and End
Task to get rid of it!
Can anyone help me?
Cheers,
Steve.