Ver Mensaje Individual
  #9  
Antiguo 20-03-2007
Nelet Nelet is offline
Miembro
 
Registrado: may 2003
Ubicación: Picassent - Valencia
Posts: 95
Reputación: 21
Nelet Va por buen camino
Código Delphi [-]
ADOTable.Filtered:= False;
ADOTable.Filter:= 'Month(FCompra)= '+ '03';
ADOTable.Filtered:= True;
ese
Código Delphi [-]
+'03';
no me gusta nada.

Prueba así:

Código Delphi [-]
ADOTable.Filtered:= False;
ADOTable.Filter:= 'Month(FCompra)=3';
ADOTable.Filtered:= True;
El mes es de tipo numérico y tu le estás pasando un string.
__________________
_____________________________________
And follow me to where the real fun is

Última edición por Nelet fecha: 20-03-2007 a las 17:02:37.
Responder Con Cita