[Lazarus] Filtering on date with TDbf

Chris Kelling kellingc at cox.net
Mon Jan 30 21:43:00 CET 2012




On Mon, Jan 30, 2012 at 6:25 AM, Koenraad Lelong wrote:

> tblTik.Filter:='DATUM>='''+DateToStr(XferStart)+'''';
>
> I get an error :
> Index based on unknown field ">=".

My guess is take a look at the location of your apostrophizes (').  You 
have 3 of them in a row in a couple of cases, which will interpreted as 
"print chr(39)" and not as a text dilimeter.




More information about the Lazarus mailing list