Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

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.
0
mishlce
Asked:
mishlce
1 Solution
 
Dale FyeCommented:
Have you checked your VB references?

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.
0
 
mbizupCommented:
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.
0
 
Jim Dettman (Microsoft MVP/ EE MVE)PresidentCommented:
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.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Jeffrey CoachmanMIS LiasonCommented:
<mutually exclusive constants in an argument to a method>
?

Can you post the SQL and/or code you are using...?
0
 
mishlceAuthor Commented:
Database was over its size limit so was giving me this error.  It was at 2.0 MB I split it cleaned it out compacted and repaired and then it worked fine.
0
 
mishlceAuthor Commented:
Figured it out on own after looking at the size of my database
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now