Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/12/2004, 21:55
Avatar de TurKa
TurKa
 
Fecha de Ingreso: enero-2003
Ubicación: Gerli, Avellaneda
Mensajes: 543
Antigüedad: 22 años, 3 meses
Puntos: 4
Debes utilizar RecordCount

Por ejemplo:

<%
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=C:\Inetpub\DB\basededatos.mdb")

SQL = "SELECT campo FROM tabla WHERE campo = 'texto'"
Set RS = CreateObject("ADODB.Recordset")
RS.Open SQL,Conn,3,1

CantidadRegistros = RS.RecordCount

RS.Close
Set RS = Nothing
Conn.Close
Set Conn = Nothing
%>
__________________
Programación LAMP con Scrum y XP
www.eugeniabahit.com.com.ar