Error Message Help??
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '='.
Here is my update code that is getting the error
IF Request.Form("submit")="Save Changes" THEN
SQLStr="SELECT * FROM ORNextIssue WHERE NextIssueID=" & Request.Form("ID")
RS.Open SQLStr,Application("DBConn"),1 ,2 ,&H0001
RS("NextIssueID")=Request.Form("ID")
RS("Title")=Request.Form("Title")
RS("Line1")=Request.Form("Line1")
RS("Line2")=Request.Form("Line2")
RS("Line3")=Request.Form("Line3")
RS("Line4")=Request.Form("Line4")
RS("Line5")=Request.Form("Line5")
RS("Line6")=Request.Form("Line6")
RS("Line7")=Request.Form("Line7")
RS("Line8")=Request.Form("Line8")
RS("Line9")=Request.Form("Line9")
RS("Line10")=Request.Form("Line10")
RS("AdDate")=Request.Form("AdDate")
RS.Update
END IF
I used this code a dozen times and this is the only one I have a problem with.
I don't see what's wrong with it
__________________
-----------------------------------------------------------
\"Don\'t follow someone who\'s not going anywhere\" John Mason
|