On Mar 9, 12:54*am, Plamen Ratchev <Pla... (AT) SQLStudio (DOT) com> wrote:
Quote:
I am not sure but seems to me the SQL string you have does not concatenate properly. Try this:
"UPDATE tblClients SET ClientNote = " & frm("ClientNote") & " WHERE ClientID = " & lngClientID
But a better approach is to parameterize the query or use stored procedure with parameters. That way you do not have to
worry about SQL injection and data types can be interpreted correctly. Here is one reference:http://aspnet101.com/tutorials.aspx?id=1
--
Plamen Ratchevhttp://www.SQLStudio.com |
Thank you Plamen
Jen