
14/07/2003, 00:40
|
 | | | Fecha de Ingreso: diciembre-2001
Mensajes: 449
Antigüedad: 23 años, 4 meses Puntos: 2 | |
Tipo de error:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)
[Microsoft][Controlador ODBC Microsoft Access] Pocos parámetros. Se esperaba 1.
/cat/d/muestra.asp, línea 14
Tipo de explorador:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
<html>
<head>
<title>CAT-SOFT.net</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<%
Set Master = Server.CreateObject("ADODB.Connection")
Master.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("afiliados.mdb"))
sSQL = "select * from Afiliados order by usuario"
set RS = Master.Execute(sSQL) // -- ACA ESTA EL PROBLEMA o es en la declaracion de la tabla?
sColor = "999999"
while not RS.eof
If sColor = "999999" Then
sColor = "ffffff"
Else
sColor = "999999"
End If
%>
<table width="600" border="0" cellspacing="1" cellpadding="1">
<tr>
<td bgcolor="<%=(sColor)%>"><%=(RS.fields("usuario").v alue)%></td>
</tr>
</table>
<%
RS.movenext
wend
%>
</body>
</html> |