Access "Invalid Argument"

JVID720

New Member
Joined
Jun 11, 2015
Messages
9
My access DB grew and now I can't open it. I get the error "Invalid Argument".

Any ideas on how I can open it so I can shrink it?

I tried compacting it... same error
I tried creating a new DB to export certain tables... same error

Help please :)

JV
Soli deo Gloria
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
"Invalid Argument" is not a db error, something in a form or code is causing it.

hold the shift key down then open the db, keeping it down.
do you still get the error?
do you normally have a form open upon start?

 
Upvote 0
I held it down and still there. No form just a bunch of data tables and queries.

Thanks in advance,

JV
 
Upvote 0
Any expressions in any of the queries?
 
Upvote 0
AllowBypassKey property may be set to false. When you get to the point where you can see the tables, queries, etc., you could open any module in the vb editor, type Ctrl+F (find) and paste AllowBypassKey into the dialog, choose 'current project' and click 'Find Next'. If you find this term, keep clicking 'find next' while checking the code to see how it's being set. Alternately, you could simply copy and use the code from here MS Access 2003: Re-enable the Shift key when logging into a secure database and follow the directions on how to employ it. You will likely have to step through any startup code to find the problem and fix it. It is not clear if you don't see a form on opening because there is a problem, or if you just aren't supposed to. You may have to look at the design options to see if there is supposed to be a form opening on startup.
 
Upvote 0
False alaram. Thought I made a pasting boo-boo. No changes.
 
Upvote 0

Forum statistics

Threads
1,216,117
Messages
6,128,935
Members
449,480
Latest member
yesitisasport

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