TMyQuery and SetWhere ????

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
BigJuice
Posts: 4
Joined: Fri 11 Feb 2011 14:35

TMyQuery and SetWhere ????

Post by BigJuice » Fri 11 Feb 2011 14:39

Hi Everybody,

Here is my question... I just discovered that a function "SetOrderBy" exists and I want to know if is there another function to set a Where clause ?

Thank you to everyone who will help me :D It's really appreciate!!! :)

BigJuice
Posts: 4
Joined: Fri 11 Feb 2011 14:35

Post by BigJuice » Fri 11 Feb 2011 15:16

We can mark this topic as Resolve :P

I found in the help what is the property that I need to use :D
The property is "FilterSQL" :)

AndreyZ

Post by AndreyZ » Mon 14 Feb 2011 14:15

Hello,

You can use the AddWhere method that adds condition to the WHERE clause of SELECT statement in the SQL property. For more information please read the MyDAC documentation.

Post Reply