CustomConstraint and MyDAC

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
m227
Posts: 75
Joined: Mon 06 Aug 2007 12:41

CustomConstraint and MyDAC

Post by m227 » Thu 09 Aug 2007 19:15

Is CustomConstraint for any field of the Table supported by MyDAC components?
I.e. I'd like to check if value inserted in a field is in range of 1-10 (i put CustomConstraint for that field: x > 0 and x 10 then
raise Exception.Create('...');
end;[/code]

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Fri 10 Aug 2007 12:22

You are right. This behavior is not implemented in the current MyDAC version. Maybe we will add this feature in the next MyDAC version.

Post Reply