![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|
|
#1
|
||||
|
||||
|
Gracias Roman una vez más !
Última edición por gluglu fecha: 31-01-2005 a las 14:27:59. |
|
#2
|
|||
|
|||
|
Proba con esto:
DateC := EncodeDate(Year,Month,Day); IBQueryCheck.SQL.Clear; IBQueryCheck.SQL.Add('Select * from SEASONS'); IBQueryCheck.SQL.Add('where DATEFROM <= ateC and DATETO >= ateC');IBQueryCheck.ParamByName('DateC').AsDate := DateC; IBQueryCheck.Open; Otra forma de hacer los mismo es la sigueinte: DateC := EncodeDate(Year,Month,Day); IBQueryCheck.SQL.Clear; IBQueryCheck.SQL.Add('Select * from SEASONS'); IBQueryCheck.SQL.Add('where ' + Chr(39) + DateToStr(DateC) + Char(39) + ' Between DATEFROM and DATETO'); IBQueryCheck.Open; Nota: Hay un espacio antes del Between Saudos Luciano |
![]() |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
|