
03/03/2004, 08:31
|
 | | | Fecha de Ingreso: octubre-2003
Mensajes: 381
Antigüedad: 21 años, 3 meses Puntos: 0 | |
Prueba así:
rst.Source = " SELECT FECHA_HORA, OBSERVACION, N_CONTRATO, TELEFONO, RUT_CLIENTE, NOMBRE_CLIENTE FROM CLIENTES WHERE FECHA_HORA BETWEEN #" + fecha1 + "# AND #" + fecha2 + "# AND ALERTA_DESCONOCE_CONTRATO = 'SI' ORDER BY FECHA_HORA "
rst.Open
con almoadillas y sin paréntesis. |