Please tell me, anyone, why can I not use a reference to a recordset object in a SQL string constructed for use in the OPEN statement of ADO? The string follows:
"INSERT INTO SUTATTLS(EMPNO)" _
& " VALUES(objSource3.adoRsMultiUse!EMPNO)"
Get error message "No value given for one or more required parameters".
If I remove the reference to the recordset(objSource3.adoRsMultiUse!EMPNO) and replace with a number, it works fine.
When I look at objSource3.adoRsMultiUse!EMPNO with Quick Watch it looks like a good number. What's going on???
TNN, Tom
TOM
"INSERT INTO SUTATTLS(EMPNO)" _
& " VALUES(objSource3.adoRsMultiUse!EMPNO)"
Get error message "No value given for one or more required parameters".
If I remove the reference to the recordset(objSource3.adoRsMultiUse!EMPNO) and replace with a number, it works fine.
When I look at objSource3.adoRsMultiUse!EMPNO with Quick Watch it looks like a good number. What's going on???
TNN, Tom
TOM