
November 5th, 2009, 08:11 AM
|
|
Contributing User
|
|
Join Date: Jul 2007
Posts: 164
Time spent in forums: 2 Days 15 h 48 m 27 sec
Reputation Power: 3
|
|
|
General - DELETE multiple records
Hi there
I want to delete multiple records using a series of checkboxes and I'm using the following code:
myids = Request("checkmessages")
Set objRS = objConn.Execute("UPDATE tblMemMessage SET delmess = '1' WHERE messid IN = (" + myids + ") ")
When I run the code I get the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[MySQL][ODBC 3.51 Driver][mysqld-5.0.77-log]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= (30, 26)' at line 1
Is there anyone could tell me what I'm doing wrong?
Thanks
__________________
If this help you please show your gratitude by adding reputation points.
Thanks
JonyBravo
|