🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
2 messages
2 total messages Started by Rick Golden Fri, 09 Feb 2001 15:45
How get I get the real error code
#5773
Author: Rick Golden
Date: Fri, 09 Feb 2001 15:45
5 lines
1035 bytes
When I'm posting a new record, if the primary key is violated, what
exception can I trap
if I want to know if it's really the error I get (Error Code??)

thanx
Re: How get I get the real error code
#5788
Author: Eko Subagio
Date: Tue, 13 Feb 2001 15:47
21 lines
1393 bytes
Use EDatabaseError exception,...
and trap the error code over here...
try ... except

Regards
Eko Subagio
www.delphi-jedi.org
www.geocities.com/ekosbg



"Rick Golden" <GoldenRick@hotmail.com> wrote in message
news:961393$3a25@bornews.inprise.com...
> When I'm posting a new record, if the primary key is violated, what
> exception can I trap
> if I want to know if it's really the error I get (Error Code??)
>
> thanx
>
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads