I'm getting a syntax error in the following SQL statement.
The whole statement is actually very long, so I am breaking it up.
I am testing just part of it, but I get a syntax error message:
strSQL = "UPDATE tblCustomer SET StartDate = #" & txtStartDate & "#," _
& "EndDate = #" & txtEndDate & "#," _
& "Name = " & cboName & "," _
& "WHERE CustomerId = " & txtCustomerId & ";"
Can anyone help me with this.
Thanks!
BJS
The whole statement is actually very long, so I am breaking it up.
I am testing just part of it, but I get a syntax error message:
strSQL = "UPDATE tblCustomer SET StartDate = #" & txtStartDate & "#," _
& "EndDate = #" & txtEndDate & "#," _
& "Name = " & cboName & "," _
& "WHERE CustomerId = " & txtCustomerId & ";"
Can anyone help me with this.
Thanks!
BJS