Guest_imported
New member
- Jan 1, 1970
- 0
Hi, I'm using Delphi5 and I have a SQL query retreiving appointments where the date is greater than Today. The funcion Date in delphi returns the current date(if I'm not wrong). I tried everything but I keep getting type mismatch error or invalid use of keyword Date...
'select * from traitements where Datefield > DateToStr
(Date) order by datefield'
or
maintenant := DateToStr(Date);
'select * from traitements where Datefield > '+maintenant+' order by Datefield'
It never works
Please help
Thanks [sig][/sig]
'select * from traitements where Datefield > DateToStr
(Date) order by datefield'
or
maintenant := DateToStr(Date);
'select * from traitements where Datefield > '+maintenant+' order by Datefield'
It never works
Please help
Thanks [sig][/sig]