Page 1 of 1

filter question

Posted: Wed 12 Mar 2008 16:29
by ben
I have an opened Query and then I:

Query1.Filter := 'title like "something%"';
Query1.Filtered := true;

and then

Query1.Filtered := false;


Does this reload records from MySQL or it happens to memory only?

Posted: Thu 13 Mar 2008 16:19
by Antaeus
This kind of filtering is performed locally, and does not request data from server.
If you use FilterSQL instead, MyDAC will request data from the server each time the value of FilterSQL gets changed.