
06/10/2005, 13:42
|
 | | | Fecha de Ingreso: noviembre-2003 Ubicación: Mex
Mensajes: 1.325
Antigüedad: 21 años, 5 meses Puntos: 0 | |
Gracias a todo jeje que relajo verdad, miren
si yo tengo esto:
<html>
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<%
Dim cnn, rs, SQL, a
set cnn = Server.CreateObject("ADODB.Connection")
set rs = Server.CreateObject("ADODB.Recordset")
a=Request.Form("tipo")
cnn.Open "tabla1"
SQL="SELECT rfc FROM datos2 "
rs.Open SQL,cnn
%>
<%If rs.eof then %>
No hay registro encontrado
<%else%>
<%do while not rs.EOF%>
<%Response.Write(rs.Fields("rfc"))%><br>
<%rs.MoveNext
loop
rs.Close
cnn.Close
end if%>
</body>
</html>
Me muestra esto:
RILE640520
FUTM750417
PEPM681112
RORC720308
ROHM750304
CUAL710122
ROKE511207
NATS490802
CURA510613
NUZA510811
TOGD700909
VARV560413
PARA470404
AULU460516
RUAJ700730
FOGY480705
LOTJ701109
Pero yo solo quiero que en la hoja me muestre
VARV560413 este aqui FOGY480705 este aca
CURA510613 y este por aca
Algo asi jeje
Bye |