🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ADO Errors codes

#932
From: stepa
Date: Tue, 15 Mar 2005 12:48
18 lines
1253 bytes
Hi,
I need ADO Errors Codes.

Can I see error codes, if error occured, on following way :

   TADOConnection * adocon;
   ....
   ....
   ....
 Somewhere in programm in Event handler OnPostError : 
   int i = adocon->Errors[0].Item->Number;
   if ( i == xxxxxx ) then corresponding action

Is this correct syntax? 

Best regards
stepa
Technical Details
Message-ID: <4236d9a7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,c66dae67e2e1cb60,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "stepa" <dstepa@ptt.yu>
Sender: "stepa" <dstepa@ptt.yu>
Reply-To: "stepa" <dstepa@ptt.yu>
Subject: ADO Errors codes
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 213.137.116.129     
X-Forwarded-For: 128.128.129.171
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4236d9a7$1@newsgroups.borland.com>
Date: 15 Mar 2005 04:48:39 -0800
X-Trace: newsgroups.borland.com 1110890919 207.105.83.66 (15 Mar 2005 04:48:39 -0800)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail