Solved

Access 2000 or 2003

Posted on 2012-04-02
6
217 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

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…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
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…

856 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