
06/05/2005, 17:17
|
 | | | Fecha de Ingreso: abril-2005
Mensajes: 1.051
Antigüedad: 20 años, 1 mes Puntos: 2 | |
En tu script... Prueba esto:
Set RS3 = Server.CreateObject("ADODB.Recordset")
RS3.open "usuario_activo", conexion, 1
horaentrada = "DEFAULT_NUNCA_INICIALIZADA"
fechaentrada = "DEFAULT_NUNCA_INICIALIZADA"
RS3.movefirst
Do while not RS3.eof= true
if RS3("usuario") = nombreusuario then
horaentrada = RS3("hora")
fechaentrada = RS3("fecha")
exit do
else
RS3.movenext
end if
loop%>
Pruebalo para ver que pasa.
Suerte!! |