Ver Mensaje Individual
  #12 (permalink)  
Antiguo 02/01/2003, 06:49
Avatar de meru-kun
meru-kun
 
Fecha de Ingreso: noviembre-2002
Ubicación: Madrid
Mensajes: 854
Antigüedad: 22 años, 5 meses
Puntos: 0
kOREV, he provado con tu codigo, y nada, no se muestra nada... :(

La variable strSQLHoy es:ç
strSQLHoy = "SELECT ID, ARCHIVO, FECHA, IMAGEN, TEMA, HORA FROM NEWS WHERE FECHA= " & "#" & txtFechaEs &"#" & " AND HORA ="
strSQLHoy = strSQLHoy & "'" & txtHoraAprox & "'" & "ORDER BY HORA, FECHA DESC"


Y luego el codigo que uso es:
Código:
<% Set MyRecordSet = MyConn.Execute(strSQLHoy) %>
<% 
  Do while not MyRecordset.EOF
  If txtFechaLast <> MyRecordset("FECHA") then
    exit do
  end if %>
<!-- codigo html -->
<%  
  txtFechaLast = MyRecordset("FECHA")
  myrecordset.movenext
loop
myrecordset.close
%>
He cambiado la variable txtFechaHoy por txtFechaLast, pero de todas maneras, esa variable no tiene ningun valor, es una variable a 0, asi que suopngo que ahi estara el problema...
__________________
Tu portal de manga y anime.