Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/09/2009, 07:13
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 3 meses
Puntos: 360
Respuesta: comparar fechas

En access los comodines es el simbolo # y no las comillas simples.

Prueba así:
m_str_sql = "SELECT * FROM TAvisos where fechaini >= #"& hoy &"# and fechafin <= #"& hoy &"# ORDER BY fechaini ASC, orden ASC"

saludos
__________________
Without data, You are another person with an opinion.
W. Edwads Deming