Ver Mensaje Individual
  #3  
Antiguo 30-05-2007
Avatar de Bicho
[Bicho] Bicho is offline
Miembro Premium
 
Registrado: jul 2003
Ubicación: Inca - Mallorca
Posts: 1.776
Reputación: 22
Bicho Va por buen camino
Hola,

creo que el problema está en que, entre el :inicio :fin debes poner un "and", tal que así:

Código Delphi [-]
Base_de_datos.QueryFact.SQL.Add('SELECT * FROM Cabfact WHERE Cabfact.Fecha_Cabfact BETWEEN :Inicio and :Fin');

Espero te sirva.

Saludos
Responder Con Cita