consider the following table:
ID DateFrom DateTo
1 6.5.2011 6.5.2011
2 7.5.2011 9.5.2011
Using a TUniQuery with ADS Database (10.10), I want to set a filter over a data range.
This filter works:
Code: Select all
UniQuery1.Filter := 'DateFrom >= '+ QuotedStr('06.05.2011') +
' AND DateTo = '+ QuotedStr('08.05.2011') +
' AND DateTo <= ' + QuotedStr('08.05.2011');
UniQuery1.Filtered := True;Any ideas why the filter isn't working?
Thank you very much!