jrthor2
07-12-2003, 11:41 AM
What is wrong with this statement? I keep getting
Microsoft JET Database Engine error '80040e14'
Syntax error in UPDATE statement.
My code:
SQLstmt = "UPDATE users SET "
SQLstmt = SQLstmt & "Password = '" & strpassword & "', "
SQLstmt = SQLstmt & "Email = '" & stremail & "' "
SQLstmt = SQLstmt & "WHERE Username = '" & strusername & "'"
response.write(SQLstmt)
conn.execute(SQLstmt)
Microsoft JET Database Engine error '80040e14'
Syntax error in UPDATE statement.
My code:
SQLstmt = "UPDATE users SET "
SQLstmt = SQLstmt & "Password = '" & strpassword & "', "
SQLstmt = SQLstmt & "Email = '" & stremail & "' "
SQLstmt = SQLstmt & "WHERE Username = '" & strusername & "'"
response.write(SQLstmt)
conn.execute(SQLstmt)