Solved

Access 2000 or 2003

Posted on 2012-04-02
6
218 Views
Last Modified: 2012-06-03
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
Comment
Question by:mishlce
6 Comments
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 37796560
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
 
LVL 61

Expert Comment

by:mbizup
ID: 37796626
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
 
LVL 57
ID: 37796647
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
Technology Partners: 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!

 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37796856
<mutually exclusive constants in an argument to a method>
?

Can you post the SQL and/or code you are using...?
0
 

Accepted Solution

by:
mishlce earned 0 total points
ID: 38023076
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
 

Author Closing Comment

by:mishlce
ID: 38041339
Figured it out on own after looking at the size of my database
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question