
18/12/2003, 16:43
|
 | | | Fecha de Ingreso: diciembre-2003 Ubicación: Frente al Monitor
Mensajes: 252
Antigüedad: 21 años, 4 meses Puntos: 0 | |
Pues esto no me esta saliendo mira te mando mi codigo para que mne digas que estoy haciendo mal.
<Comparar.asp>
<tr>
<td width="32" height="19"><input type="checkbox" name="chk" value="<%=table("ID") %>"></td>
<td width="202" height="19" align="center"><%=table("Nombre") %></td>
<td width="159" height="19" align="center"><%=table("Descripcion") %></td>
<td width="160" height="19" align="center"><%=table("Cantidad") %></td>
<td width="109" height="19" align="center"><%=table("Precio") %></td>
</tr>
-------segunda pagina-------
<nada.asp>
<%
dim BDDD
dim table
dim SQL1
'Registros = Request("ID")
Registros = "'" & Request.Form ("ID") & "'"
Set BDDD = Server.CreateObject ("ADODB.Connection")
Set table = Server.CreateObject ("ADODB.RecordSet")
BDDD.Open ("PROVIDER=Microsoft.Jet.OLEDB.4.0 ;DATA SOURCE=" + Server.MapPath("./Comparar.mdb"))
SQL1="SELECT * FROM Comparar WHERE ID IN(" &Registros& ")"
table.ActiveConnection=BDDD
table.Open SQL1
%>
El error que me sale es el siguiente
Tipo de error:
Microsoft JET Database Engine (0x80040E07)
No coinciden los tipos de datos en la expresión de criterios.
/pcworld/Comparar/nada.asp, line 27
Gracias por tu ayuda.
__________________ Hasta la victoria Siempre. |