MyQuery + addwhere + update

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
shsit
Posts: 21
Joined: Thu 05 Oct 2006 11:41

MyQuery + addwhere + update

Post by shsit » Thu 05 Oct 2006 11:43

Hi,

I'm new to mydac and got a little problem.
I have a MyQuery with an update-statement.

I want to add a where-condition with the addWhere-procedure to this statement, but it doesn't work for me.
What I'm making wrong ?

Thx

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 05 Oct 2006 12:40

AddWhere method works only for SELECT statement.

Post Reply