TUniTable difference between Filter and FilterSQL
-
testpresta
- Posts: 32
- Joined: Sat 07 Jun 2014 19:41
TUniTable difference between Filter and FilterSQL
Hello
What is the difference between filter and filtersql properties on TuniTable ?
Filter does not seems to work.
Is it possible to automatically call FilterSQL when Filter is called ?
Thanks
What is the difference between filter and filtersql properties on TuniTable ?
Filter does not seems to work.
Is it possible to automatically call FilterSQL when Filter is called ?
Thanks
Re: TUniTable difference between Filter and FilterSQL
Hello,
If the condition is set in the Filter property (and the Filtered property is set to True), data is filtered locally; if the condition is set in FilterSQL - this condition is added to the WHERE clause of the query, and the query with the condition is executed on the server.
If the condition is set in the Filter property (and the Filtered property is set to True), data is filtered locally; if the condition is set in FilterSQL - this condition is added to the WHERE clause of the query, and the query with the condition is executed on the server.
-
andrewsvaz
- Posts: 12
- Joined: Fri 04 Apr 2014 18:50
Re: TUniTable difference between Filter and FilterSQL
Interesting, but I am porting some apps and I have noticed that I can't make the filter property work either, only the FilterSQL.
Wierd, to say the least.
Wierd, to say the least.
Re: TUniTable difference between Filter and FilterSQL
Please describe in more details the problems you have faced with when using the Filter property - and we will try to help you solve them.
Re: TUniTable difference between Filter and FilterSQL
For example when I moved from dbx to UniDAC I changed to FilterSQL because Filter does not support Lower(). TClientDataSet does. It was a little hassle but was faster to implement than other options.AlexP wrote:Please describe in more details the problems you have faced with when using the Filter property - and we will try to help you solve them.
Maybe there is something similar with @andrewsvaz.
Best Regards,
Cristian Peta
Re: TUniTable difference between Filter and FilterSQL
We have added a possibility to use Lower and Upper methods in the Filter property. This feature will be included to the next version.
Re: TUniTable difference between Filter and FilterSQL
Thank You.AlexP wrote:We have added a possibility to use Lower and Upper methods in the Filter property. This feature will be included to the next version.
Re: TUniTable difference between Filter and FilterSQL
You are welcome. Feel free to contact us if you have any further questions.