Hi there,
Just wondering if theres something i'm doing wrong with this sql query:

Thanks for any help
Just wondering if theres something i'm doing wrong with this sql query:
Code:
Set objAdminUsersInsert = objConn.execute("INSERT INTO tblUsers (UserFullName,UserEmail,UserLevel,Username,UserPassword) VALUES ('"& UserFullName &"','"& UserEmail &"','"& UserLevel &"','"& Username &"','"& UserPassword &"') WHERE UserID = "& id &"")
I'm trying to edit a row in a database and not sure if i'm using the WHERE clause correctly? I've got it working without using it, so I can insert a new user, but now that i'm trying to edit an already existing one i'm having an errorError Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Missing semicolon (at end of SQL statement.
/test/thepines/Website/admin/usersInsertEdit.asp, line 13

Thanks for any help
