Difference between tuniquery.filter and tuniquery.filterSQL

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jota
Posts: 34
Joined: Tue 22 Nov 2011 19:21

Difference between tuniquery.filter and tuniquery.filterSQL

Post by jota » Wed 09 May 2012 09:06

Hello.

What´s the difference between properties tuniquery.filter and tuniquery.filterSQL.

Perhaps tuniquery.filter accept functions for data filter (not only sql code)? In this case is a little sample possible?.

Thank in advance.

AndreyZ

Re: Difference between tuniquery.filter and tuniquery.filter

Post by AndreyZ » Thu 10 May 2012 14:22

Hello,

The Filter property is used for local filtering of a dataset and the FilterSQL property for filtering on the server side. FilterSQL adds conditions to the WHERE statement of your queries, therefore you can use any conditions in it that are supported by the database server you are working with. For more information about the FilterSQL property, please refer to the UniDAC documentation.

Post Reply