Code: Select all
NEW.thatValidatedField = 'error'When I do it using DBGrid in Delphi, this field is filled with 0 (may be it is any string representation when throwing on numeric field), but I'd like to get any error message or/and prevent from inserting that field into table.
Can it be done with MyDAC? How to design Trigger and Table Field properties? (XP SP2, MySQL 5.0.45, MyDAC 5.10, TurboDelphi)
Michal