🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

What is the ADO exception?

#130
From: Mtronix
Date: Tue, 16 Oct 2007 12:41
73 lines
1672 bytes
Hello,
    I am migrating from BDE to ADO.  I have the following BDE code

try

{

Session->GetTableNames(databaseCersr->DatabaseName, "", false, false, 
TableList);

if (TableList->IndexOf(TableName) >= 0)

{

retVal = true;

}

}

catch(EDBEngineError &e)

{

}

delete TableList;

return retVal;

}



I am changing it to this

try

{


databaseCersr->GetTableNames(TableList,false);

if (TableList->IndexOf(TableName) >= 0)

{

retVal = true;

}

}

catch(EDBEngineError &e)

{

}

delete TableList;

return retVal;

}



Though I found out that EDBEngineError is not the proper catch.  Can someone 
tell me what is?



Thanks
Technical Details
Message-ID: <4714b18e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,48e5968764ec11c7,start
X-Google-Attributes: gid10698b,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Mtronix" <mleitheiser@minnetronix.com>
From: "Mtronix" <mleitheiser@minnetronix.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: What is the ADO exception?
Date: Tue, 16 Oct 2007 07:41:48 -0500
Lines: 75
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 207.250.0.174
Message-ID: <4714b18e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1192538510 207.250.0.174 (16 Oct 2007 05:41:50 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail