mishlce
asked on
Access 2000 or 2003
I have a lot of select qry's I just ran them all last week with no issue. Nothing has changed in regards to the talbes or the data in the tables? When I run them today and I try to make a table from them or simply just save them, I am getting this error? How can I fix this or find out what is causing this error.
Invalid argument. (Error 3001)
You tried to perform an operation that involves a routine in a DLL, and one of the arguments to the routine is invalid. Check your entry to make sure you have specified the correct arguments, and then try the operation again.
This error also occurs when you attempt to use mutually exclusive constants in an argument to a method, such as specifying both dbConsistent and dbInconsistent in the options argument to the OpenRecordset method.
Invalid argument. (Error 3001)
You tried to perform an operation that involves a routine in a DLL, and one of the arguments to the routine is invalid. Check your entry to make sure you have specified the correct arguments, and then try the operation again.
This error also occurs when you attempt to use mutually exclusive constants in an argument to a method, such as specifying both dbConsistent and dbInconsistent in the options argument to the OpenRecordset method.
Make a backup and try compact/repairing your database.
Check the tables in question for any corrupted looking data.
Try the same queries on a backup copy of your data - taken from before this error started occurring.
Check the tables in question for any corrupted looking data.
Try the same queries on a backup copy of your data - taken from before this error started occurring.
Typically when something like that happens, it as the others have said or the data has changed in some way (ie. a NULL).
Check any calls your making in that query to procedures.
Jim.
Check any calls your making in that query to procedures.
Jim.
<mutually exclusive constants in an argument to a method>
?
Can you post the SQL and/or code you are using...?
?
Can you post the SQL and/or code you are using...?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Figured it out on own after looking at the size of my database
Open the VB editor window and select Tools -> References.
If any of those items are missing, make a note of which ones.
Then uncheck them click OK.
Then locate them in the listbox, and reselect them.