I'm getting an Expected: end of statement error message when I try to compile this code.
strSQL = "UPDATE ReqnWatch SET DLATicketNum = " _
& Forms!frmReqnWatch!frmDLATicket.Form!DLATicketNum _
& "WHERE (JD)=" & Forms!frmReqnWatch!JD _
& "(Serial) =" & Forms!frmReqnWatch!Serial;
I'm just learning how to write SQL statements and they're killing me. I'm not sure when to use parentheses, single quotes, double quotes, double-single quotes, etc. If anyone has clear guidance or knows of something I can read that will help me understand better, I'll be so grateful.
strSQL = "UPDATE ReqnWatch SET DLATicketNum = " _
& Forms!frmReqnWatch!frmDLATicket.Form!DLATicketNum _
& "WHERE (JD)=" & Forms!frmReqnWatch!JD _
& "(Serial) =" & Forms!frmReqnWatch!Serial;
I'm just learning how to write SQL statements and they're killing me. I'm not sure when to use parentheses, single quotes, double quotes, double-single quotes, etc. If anyone has clear guidance or knows of something I can read that will help me understand better, I'll be so grateful.