dawilis
10-18-2003, 12:22 AM
Hi all Can someone look at this a see why Im getting an error
set rs1 = server.createobject("ADODB.Recordset")
if(Request("checkboxName") <> "") then
ID = Replace(Request("checkboxName"),"'",".")
SQL = "DELETE FROM NMContact WHERE IDN IN " + ID + " "
rs1.open sql,constring
end if
he error returned is
Microsoft][ODBC Microsoft Access Driver] In operator without () in query expression 'IDN IN 3, 4, 22'.
/wic/Reception/deleteNoN.asp, line 33
line 33 being the rs1.open.sql,constring
set rs1 = server.createobject("ADODB.Recordset")
if(Request("checkboxName") <> "") then
ID = Replace(Request("checkboxName"),"'",".")
SQL = "DELETE FROM NMContact WHERE IDN IN " + ID + " "
rs1.open sql,constring
end if
he error returned is
Microsoft][ODBC Microsoft Access Driver] In operator without () in query expression 'IDN IN 3, 4, 22'.
/wic/Reception/deleteNoN.asp, line 33
line 33 being the rs1.open.sql,constring