🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DBE Error Trapping

#5837
From: Mark Cashman
Date: Wed, 31 Jan 2001 02:38
24 lines
1558 bytes
Hi, Gary!

You should ask about BDE issues in
borland.public.cppbuilder.database.desktop

However,

    if (!Table->Locate(SomeFieldName,SomeFieldValue,TLocateOptions())
    {
        // handle the error.

sounds like what you need.

Not finding a record is not an error under all circumstances and doesn't
throw an exception.

------
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: <3A777A98.4C5BD0A0@temporaldoorway.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!not-for-mail
References: <3a774bf0$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,e408e6c0d20ed148
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-01-30 18:40:20 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!not-for-mail
From: Mark Cashman <mcashman@temporaldoorway.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: DBE Error Trapping
Date: Tue, 30 Jan 2001 21:38:16 -0500
Organization: Another Netscape Collabra Server User
Lines: 26
Message-ID: <3A777A98.4C5BD0A0@temporaldoorway.com>
References: <3a774bf0$1_1@dnews>
Reply-To: mcashman@temporaldoorway.com
NNTP-Posting-Host: c763059-a.blfld1.ct.home.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.7 [en] (Win98; U)
X-Accept-Language: en