Article View: borland.public.cppbuilder.database.ado
Article #808How do you catch errors & messages in ADO?
From: Vladimir Stefanovic
Date: Sun, 08 May 2005 10:18
Date: Sun, 08 May 2005 10:18
19 lines
1459 bytes
1459 bytes
Hi, I asked this a couple of weeks before, but without an answer (Thread: TADOTable & TADOQuery: OnPost() errors...) How do you know what to say to the user when you catch some post/insert/delete error in ADO? I think that saying "Some error occured" is not fair. I do it now by analyzing the string in 'E->Message' (the more details with code is in my original thread). Is there anything better? -- Best regards, Vladimir Stefanovic
Technical Details
Message-ID:
<427de773@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,a0b07e6435a98624,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu> Newsgroups: borland.public.cppbuilder.database.ado Subject: How do you catch errors & messages in ADO? Date: Sun, 8 May 2005 12:18:28 +0200 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 82.117.212.65 Message-ID: <427de773@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1115547507 82.117.212.65 (8 May 2005 03:18:27 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail