Hi Guys,
This is my code , below .i am tryinG to update a table in access.
SQlstmt = "Update BILLTABLE Set "
SQLStmt = SQlstmt & "BILLTITLE = '" & Strbilltitle & "',"
SQLStmt = SQlstmt & "WEBADD = '" & Strwebadd & "',"
SQLStmt = SQlstmt & "KEYWORDS = '" & Strkeywords & "',"
SQLStmt = SQlstmt & "BILLSUMMARY = '" & Strbillsummary & "',"
SQLStmt = SQlstmt & "Where BILLNO = '" & StrbillNo &"'"
Response.write sqlstmt
Conn.Execute(SQLStmt)
Says i have a syntax error,below is the error messaGe
Update BILLTABLE Set BILLTITLE = 'MEDICARE',WEBADD = 'ANDY@MDT',KEYWORDS = 'HEALTH',BILLSUMMARY = 'MEDICAL',Where BILLNO = 'H.R.205'
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE statement.
pls which syntax am i missinG??
Thanks as always,
Ify
This is my code , below .i am tryinG to update a table in access.
SQlstmt = "Update BILLTABLE Set "
SQLStmt = SQlstmt & "BILLTITLE = '" & Strbilltitle & "',"
SQLStmt = SQlstmt & "WEBADD = '" & Strwebadd & "',"
SQLStmt = SQlstmt & "KEYWORDS = '" & Strkeywords & "',"
SQLStmt = SQlstmt & "BILLSUMMARY = '" & Strbillsummary & "',"
SQLStmt = SQlstmt & "Where BILLNO = '" & StrbillNo &"'"
Response.write sqlstmt
Conn.Execute(SQLStmt)
Says i have a syntax error,below is the error messaGe
Update BILLTABLE Set BILLTITLE = 'MEDICARE',WEBADD = 'ANDY@MDT',KEYWORDS = 'HEALTH',BILLSUMMARY = 'MEDICAL',Where BILLNO = 'H.R.205'
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE statement.
pls which syntax am i missinG??
Thanks as always,
Ify