loonytick11
Programmer
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?
------------
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?