Ver Mensaje Individual
  #8 (permalink)  
Antiguo 06/11/2007, 02:13
Avatar de Uefor
Uefor
 
Fecha de Ingreso: agosto-2006
Ubicación: Murcia
Mensajes: 136
Antigüedad: 17 años, 8 meses
Puntos: 0
De acuerdo Re: Como hacer... WHERE Fecha >= fecha actual

He probado con ambos métodos y me hacía cierto filtrado pero me daba problemas con el tema de la hora inglesa y esas cosas, así que he optado por esto y por fin funciona ya:
Código:
        fechaH = date() 
        sSQL="SELECT Fecha, Idevento FROM Tabla WHERE Fecha <> NULL ORDER BY Fecha, Idevento"
        set RS = Conn.Execute(sSQL) 
        Do While not RS.eof 
        Fech = RS("Fecha")
        If fechaH <= Fech  Then	
        Response.Write("<input NAME='evento' TYPE='text' VALUE='"&RS("Idevento")&"'>")
        Response.Write("<input NAME='fecha' TYPE='text' VALUE='"&RS("Fecha")&"'><br>")
        End if  			                  
        RS.MoveNext
        Loop
Creo que el problema estaba en la db que estaba con hora larga... gracias por la ayuda.