Rashar
04-13-2004, 12:44 PM
Good afternoon,
How do you pass a recordset value in an INSERT statement. I've tried so many ways and still can not get the right query...
Thanks in advance.
This is what I've tried so far...
RS1.Open "INSERT INTO TBLRESPONSES (question1) VALUES &rs("Question")&" adoConn, 3,3
RS1.Open "INSERT INTO TBLRESPONSES (question1) VALUES &rs('"Question"')&" adoConn, 3,3
RS1.Open "INSERT INTO TBLRESPONSES (question1) VALUES rs('"&Question&"'), "adoConn, 3,3
How do you pass a recordset value in an INSERT statement. I've tried so many ways and still can not get the right query...
Thanks in advance.
This is what I've tried so far...
RS1.Open "INSERT INTO TBLRESPONSES (question1) VALUES &rs("Question")&" adoConn, 3,3
RS1.Open "INSERT INTO TBLRESPONSES (question1) VALUES &rs('"Question"')&" adoConn, 3,3
RS1.Open "INSERT INTO TBLRESPONSES (question1) VALUES rs('"&Question&"'), "adoConn, 3,3