Catch the exception that it raises when there is an error.
Regards,
Dennis.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, 22 July 2001 02:22
> To: Multiple recipients of list delphi
> Subject: [DUG]: A TADOCommand question
>
>
> well im trying to run a quick update on a TADOCommand,
> but in case there is an error i want to retrieve the
> error message (i.e. Violation of PrimaryKey et al),
> much like the OnReconcileError of the clientdataset
>
> is it possible to do it with a tadocommand? i dont
> want to use a table because i only need to update say
> 1 in 60000,
>
> tia
>
> moises
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
> ------------------------------------------------------------------
> ---------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/