G
Guest
The following string
' update table Request
strSQL = "INSERT INTO requests ( [PubID], [EmployeeID], [Location] ) " & _
"values (" & PubID & " , " & EmpID & " , ' " & Loc & " ' );"
fails to recognize the contraction - can’t - because of the apostrophe in
the Location value. Loc is a string variable.
What is the syntax to allow quotes and apostrophes in the & Loc & variable?
tia
' update table Request
strSQL = "INSERT INTO requests ( [PubID], [EmployeeID], [Location] ) " & _
"values (" & PubID & " , " & EmpID & " , ' " & Loc & " ' );"
fails to recognize the contraction - can’t - because of the apostrophe in
the Location value. Loc is a string variable.
What is the syntax to allow quotes and apostrophes in the & Loc & variable?
tia