Page 1 of 1

TEMyError don't trap exception ...

Posted: Tue 20 Dec 2005 23:13
by gscandale
I use MyDAC with TMYTable.
I want to trap a post error when a user attempt to insert
a record mssing a required field. It's possible?
Can you write a sample code ?
Thanks in advance.

(a registered user from Italy)

Posted: Wed 21 Dec 2005 10:47
by Ikar
Use MyTable.BeforePost event handler.