Getting weired error in the database

SKV

Active Member
Joined
Jan 7, 2009
Messages
255
I have a database running for past so many months and no changes has been done to it.

Now when I run a particular query (again not changed) it give me the following error -

Cannot open database '9 - Lan ID Update Qry'. It may not be a database that your application recognizes, or file may be corrupt.

Any idea of how to resolve this problem?

Thanks
SKV
 

Some videos you may like

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
55,974
Office Version
  1. 365
Platform
  1. Windows
How often do you Compact & Repair your databases?
It is important to do this regularly, to keep it from bloating.
Try running it and see if that fixes it.

I usually go into Options and select the "Compact on Close" option so that it automatically runs a "Compact & Repair" everytime it closes.
 

SKV

Active Member
Joined
Jan 7, 2009
Messages
255
Joe,

How does compact and repair helps? Well my query worked after I closed and open my application a couple of times.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,318
Messages
5,600,924
Members
414,416
Latest member
Nobu

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
Top