Article View: borland.public.cppbuilder.database.ado
Article #5503Re: Catching a primary key error
From: Mark Cashman
Date: Wed, 25 Apr 2001 00:10
Date: Wed, 25 Apr 2001 00:10
13 lines
1522 bytes
1522 bytes
You should experiment with looking at the contents of the passed EDatabaseError. I believe the message property should contain some text that might be helpful; you could recognize it and produce whatever message you want. ------ Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at http://www.temporaldoorway.com - Original digital art, writing, music and more - C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring (Join us!) http://www.temporaldoorway.com/programming/index.htm ------
Technical Details
Message-ID:
<3AE615F5.8986C25@temporaldoorway.com>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3ae07e78$1_1@dnews> <3AE0E500.82AA18E3@temporaldoorway.com> <3ae451ef$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,eaee8c0cebea83d2 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-04-24 17:14:02 PST Message-ID: <3AE615F5.8986C25@temporaldoorway.com> Date: Tue, 24 Apr 2001 20:10:29 -0400 From: Mark Cashman <mcashman@temporaldoorway.com> Reply-To: mcashman@temporaldoorway.com X-Mailer: Mozilla 4.77 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Catching a primary key error References: <3ae07e78$1_1@dnews> <3AE0E500.82AA18E3@temporaldoorway.com> <3ae451ef$1_1@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.14.197.193 X-Trace: dnews 988157443 24.14.197.193 (24 Apr 2001 17:10:43 -0700) Lines: 15 Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews