TEMyError don't trap exception ...

TEMyError don't trap exception ...

Postby gscandale » Tue 20 Dec 2005 23:13

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)
gscandale
 
Posts: 1
Joined: Sun 21 Nov 2004 22:43

Postby Ikar » Wed 21 Dec 2005 10:47

Use MyTable.BeforePost event handler.
Ikar
 
Posts: 1693
Joined: Thu 28 Oct 2004 13:56


Return to MySQL Data Access Components