Hello,
I have searched the forums and can't find an answer. I get a runtime error '3134' with the following insert statement:
Private Sub cmdSaveQ_Click()
DoCmd.RunSQL " insert into tblquotes" & _
"(tickname, tickprice, wfsize, bordername, borderht, borderprice, qdate, style, cust, tcost, fcost, qcost, kcost, qmu)," & _
"values" & _
"('txttickname', txttickprice, txtwfsize, 'txtbordername', txtborderht, txtborderprice, txtdate, 'txtstyle', 'txtcust', txttcost, txtfcost, txtqcost, txtkcost, txtmu);"
DoCmd.Close
End Sub
Can you help me find my error?
Thanks,
Steve
I have searched the forums and can't find an answer. I get a runtime error '3134' with the following insert statement:
Private Sub cmdSaveQ_Click()
DoCmd.RunSQL " insert into tblquotes" & _
"(tickname, tickprice, wfsize, bordername, borderht, borderprice, qdate, style, cust, tcost, fcost, qcost, kcost, qmu)," & _
"values" & _
"('txttickname', txttickprice, txtwfsize, 'txtbordername', txtborderht, txtborderprice, txtdate, 'txtstyle', 'txtcust', txttcost, txtfcost, txtqcost, txtkcost, txtmu);"
DoCmd.Close
End Sub
Can you help me find my error?
Thanks,
Steve