Ver Mensaje Individual
  #5 (permalink)  
Antiguo 30/09/2003, 05:08
bea0013
 
Fecha de Ingreso: marzo-2003
Ubicación: debajodelpuente
Mensajes: 41
Antigüedad: 22 años, 1 mes
Puntos: 0
Me dice esto
El objeto no acepta esta propiedad o método: 'rs.CommandTimeout'

y mi funcion es la siguiente:

<%function getRegistros(sql, cn)

set rs = Server.CreateObject("ADODB.Recordset")
rs.CursorType = 0
rs.CursorLocation = 2
rs.LockType = 3
rs.Open sql, cn
rs.CommandTimeout = 0
if not rs.eof then
getRegistros=rs.GetRows
rs.Close()
end if
set rs = nothing
end function %>