Getting weired error in the database

SKV

Active Member
Joined
Jan 7, 2009
Messages
257
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
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
63,342
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
257
Joe,

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

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,384
Messages
5,836,946
Members
430,464
Latest member
nickburrett

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