Database engine could not lock table HELP

TheNoocH

Well-known Member
Joined
Oct 6, 2004
Messages
3,482
I'm getting the following error:

The database engine could not lock table 'tblTemp' because it is already in use by another program or process.


the table tblTemp is created with a make table query and added via an append query...i copied the queries that created this and modified them to create a separately new table but now when i go back to run the originals i get the error above....any help would be great
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
When are you getting the error?

Are you using any code?

Has Access shutdown unusually at any point?

Have you tried Tools>Compact and Repair...
 
Upvote 0
i was getting the error trying to run a command button with vba behind it that ran a make table and append table query ...then a report off that info...
I did tyr compact and repair....

opppsss....just found it....on my form i must have hit control source by mistake while changing properties and it's referencing a query it shouldn't...

thanks for you help anyway...
 
Upvote 0

Forum statistics

Threads
1,221,864
Messages
6,162,497
Members
451,770
Latest member
tsalaki

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top