si lo pongo como me dices
Código PHP:
dim rs_ofertes, valorId
valorId = request.form("v_entrada2")
Set rs_ofertes = Server.CreateObject("ADODB.Recordset")
rs_ofertes.ActiveConnection = conn_sumer
rs_ofertes.Source = "SELECT * FROM ofertes where oferta_id IN ("
for each v_entrada2 in request.form
for indice=1 to request.form("v_entrada2").count
if v_entrada2 <> "Submit" then
if indice <> 1 then
response.write " ,"
end if
rs_ofertes.Source = rs_ofertes.Source & request.form("v_entrada2")(indice)
else
end if
next
next
rs_ofertes.Source = rs_ofertes.Source & ") ORDER BY oferta_id"
rs_ofertes.CursorType = 0
rs_ofertes.CursorLocation = 2
rs_ofertes.LockType = 1
rs_ofertes.Open()
ME SALE ESTE ERROR
Tipo de error:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][Controlador ODBC Microsoft Access] Error de sintaxis (falta operador) en la expresión de consulta 'oferta_id IN ()'.
/sumer_web/admin/crea_taula_ofertes_act.asp, línea 49 osea no pinta nada