I know this is simple, but the following code gives me not a not enough parameters error from vb (Access backend). However, if I paste this SQL generated at runtime into Access, it creates the record. Can you use quotations in RDO or ADO? Am I doing something wrong?
I used """" around each side to pass "Can't print on all computers" because of the ' in Can'tCode:strString = "Can't print on all computers" sSQL = "INSERT INTO [MainRep] ([Service Description]) " & "VALUES (" & """" & strString & """" & ");" txtTestSQL = sSQL
Thanks,
Wade
[This message has been edited by WadeD (edited 01-26-2000).]




Reply With Quote