Solved

Access 2000 or 2003

Posted on 2012-04-02
6
216 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

Suggested Solutions

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

832 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