Ver Mensaje Individual
  #1  
Antiguo 26-01-2005
Avatar de gluglu
[gluglu] gluglu is offline
Miembro Premium
 
Registrado: sep 2004
Ubicación: Málaga - España
Posts: 1.455
Reputación: 21
gluglu Va por buen camino
Query y Parámetros

Hola Amigos !

Este código :
Código Delphi [-]
DateC := EncodeDate(Year,Month,Day);
IBQueryCheck.SQL.Clear;
IBQueryCheck.SQL.Add('Select * from SEASONS');
IBQueryCheck.SQL.Add('where DATEFROM <= ateC and ateC <= DATETO');
IBQueryCheck.ParamByName('DateC').Value := DateC;
IBQueryCheck.Open;
me devuelve el error:
Código Delphi [-]
[Error] E2010 Incompatible types: 'Variant' and 'TDate'
Una ayudita por favor ....
Responder Con Cita