Notes are read in from the form:
Notes = request.form("notes")
I am using the following asp code to update my table:
strSQL = "UPDATE Tasks SET " _
& "Notes='" & Notes & "'," _
& "where RecNo like '" & RecNo & "'".
I get missing operator when someone enters text containing apostrophes in the Notes field, example: 345 test's.
How can i correctly code this so that the apostrophe does not cause a problem. Thanks for any help
Notes = request.form("notes")
I am using the following asp code to update my table:
strSQL = "UPDATE Tasks SET " _
& "Notes='" & Notes & "'," _
& "where RecNo like '" & RecNo & "'".
I get missing operator when someone enters text containing apostrophes in the Notes field, example: 345 test's.
How can i correctly code this so that the apostrophe does not cause a problem. Thanks for any help