Errors Solutions
error

MS Access Error: Runtime Error 3601 - Too Few Parameters. Expected 2.?

Q: Debugger highlights my achieve statement... here is the function code that I'm working with:

'SQL Update statement
strSQL = "UPDATE [Occupation ORDER TRACKING] " & _
"SET [Type of WO] = '" & Me.Work_Busted_Type & "'," & _
"[WO Category] = '" & Me.Calling_Order_Category & "'," & _
"[LOB] = '" & Me.LOB & "'," & _
"[Account Name] = '" & Me.Account & "'," & _
"[SAS70] = '" & SAS70_Value & "'," & _
"[QA Coding Concluded] = '" & Me.QA_Coding_Complete & "'," & _
"[Coding Errors] = '" & Me.Coding_Errors & "'," & _
"[Error Chronicle #] = '" & Me.Error_Record_Number & "'," & _
"[Error Amendment Rcvd Date] = '" & Me.Error_Correction_Rcvd_Date & "'," & _
"[Error Unfurl Date] = '" & Me.Error_Open_Date & "'," & _
"[2nd QA of Coding Escort] = '" & Me.Second_QA_Coding_Complete & "'," & _
"[Error Mean Date] = '" & Me.Error_Closed_Date & "'," & _
... (inquire goes on for several more lines, not enough characters here)

db.Execute (strSQL)

how to overcome a runtime error in MS Access.This error makes my appication stop.?

Q:


A: An Runtime Error means it can't thorough the process. If Your seeing his and You DON'T have any custom VBA modules, then try repairing the DB.

Go to TOOLS>>DATABASE UTILITIES>>Condensed & REPAIR

IF You do have some custom VBA then set up an "Error trap":

at the top (right below the Function Name) add:
On Error goto YOURFUCNTIONNAME_ERR

Then at the bottom (rightful above "END FUNCTION") add:

YOURFUCNTIONNAME_Exit:
exit function

YOURFUCNTIONNAME_ERR:
Msgbox Str(err.slews) &": "& Error$
resume YOURFUCNTIONNAME_Exit

You culd also "begin through" the module script and see which line triggers the error. Open the Module in design observe and push F8 to step through it.

After You know what the error is You can research it to find out where it is coming from. Try researching in the Microsoft Knowledge shoddy.

If it's coming up before you even get INTO a database, then You may need to re-install MS Access (none of You existing DBs wil be deleted or changed. They are stored seperately from the MS ACCESS.exe files).

ParetoLogic RegCure Registry Cleaner

Has your computer been biting, crashing, showing pop-up error messages, or acting strange? Check out this video to learn how a unstained registry ...

MDB Viewer Plus Lets You View Microsoft Database Files Without Access

Freebie MDB Viewer Plus lets you look at Access (.mdb) files--but it doesn't always erect it easy to work with them.>

MDB Viewer Plus is a lightweight (no fancy install, just distil the executable) program which can be easily stowed on a USB key. It has a sparse interface, with nothing more than brief guides to filtering and sorting as pinch or documentation. For most tasks, you must poke around to figure out what to do. Fortunately, the program follows most standard Windows conventions, so it is not finicky to use.

Unfortunately , it has a number of quirks which make it less than useful. Opening an MDB which contains many tables produces a very hunger tab bar of table names, arranged alphabetically. You cannot rearrange the tabs, or hide specific tables (you can lie low columns within a table, however). Thus, if the tables you are most interested in are on opposite sides of the table, you will have a lot of scrolling back and forth to do.

Other features seem to occupation sporadically. The "Record View" feature, useful for editing text in a table with many columns, works on smaller tables but produces only a blank window on larger ones. At one mention in my informal tests, MDB Viewer Plus started throwing up error messages about missing columns, and the only way to bring back functionality was to quit and restart. One useful-seeming feature, the ability to create a blank database and start out adding tables to it (making MDB Viewer Plus a quick-and-dirty way to make and inhabit an Access database) was plagued with bugs.

© 2008 Errors Solutions