General discussion
Thread display: Collapse - |
All Comments
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
SQL Update Incorrect syntax
Thanks in advance.
<%
rs.MoveNext
rs.Close
END IF
ELSEIF Request.Form("flag")="2" THEN
SQLstmt = "UPDATE ClientTbl SET "
SQLstmt = SQLstmt & "VALUES ('" & request.form("FirstName") & "','" &
request.form("LastName") & "','" & request.form("Address1") & "','" &
request.form("Address2") & "','" & request.form("Town") & "','" &
request.form("County") & "','" & request.form("PostCode") & "','" &
request.form("Tel")& "','" & request.form("Fax")& "','" & request.form("AccountNotes")
& "')"
SQLstmt = SQLstmt & "WHERE AcNo=" & TRIM(Request.Form("Recordid"))
%>