Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Invalid input parameter values. Check the status values for detail."

Status
Not open for further replies.

loonytick11

Programmer
Jun 29, 2006
6
US
Access 2000 front end, MS SQL backend
------------
Two tables (tblA and tblB) have a one-to-one relationship. tblB's primary key is an autonumber. Nulls are allowed on all fields of both tables except the primary keys.

I made a form whose recordsource is the following SQL statement:

SELECT tblA.*, tblB.* FROM tblA INNER JOIN tblB ON tblA.Cann_Tracking_No = tblB.Tracking_No

My form has textboxes that are bound to every field from the RecordSource query, but when I try to add a new record, I get an error. "Invalid input parameter values. Check the status values for detail."

I googled this error and found a few websites (e.g. that tell me this error is a problem with MS SQL in the WHERE clause. However, I do not have a WHERE clause in my statement, and surely JOINing two tables and using that query to populate a form is a very common task (one that should not be giving an error, for pete's sake!).

Why am I receiving this error, and is there a workaround?
 
I'm not using an INSERT statement. I'm using MS Access textbox controls bound to fields in a query.

P.S. If this post does not belong here, please direct me to the correct forum. Thank you.
 
but when I try to add a new record, I get an error. "Invalid input parameter values. Check the status values for detail."

You are trying to Insert somewhere in your code...?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top