Page 1 of 1

Can not filter with MySQL function

Posted: Thu 10 Nov 2011 17:26
by charin
I try to filter the table with following statement

Filter := 'DATE_FORMAT(DATETIME_IN, '%Y%m') BETWEEN 201111 AND 201211 ';

MyDac said: column "DATE_FORMAT" not found"

How can i solve this issue?

Thanks.

Posted: Thu 10 Nov 2011 20:53
by charin
Okay, We 'll use FilterSql instead of Filter.

:wink:

Posted: Fri 11 Nov 2011 08:43
by AndreyZ
This solution is correct.