🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #5788

Re: How get I get the real error code

#5788
From: 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
>
>
>
Technical Details
Message-ID: <96a09r$5u43@bornews.inprise.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!sunqbc.risq.qc.ca!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!not-for-mail
References: <961393$3a25@bornews.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,2147be8f4dd45d64
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-02-12 16:58:02 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!sunqbc.risq.qc.ca!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!not-for-mail
From: "Eko Subagio" <ekosbg@cbn.net.id>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: How get I get the real error code
Date: Tue, 13 Feb 2001 07:47:32 -0800
Organization: Another Netscape Collabra Server User
Lines: 23
Message-ID: <96a09r$5u43@bornews.inprise.com>
References: <961393$3a25@bornews.inprise.com>
NNTP-Posting-Host: 202.155.14.161
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700