🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Does Table exist?

#2965
From: Max Luzin
Date: Tue, 18 Feb 2003 08:20
18 lines
1550 bytes
"In�s Fern�ndez" <ifernandezmed@terra.es> wrote in message
news:3e48bb74@newsgroups.borland.com...
> Finally I did it using:
>
> TStrings *tableList = new TStringList;
> ADOConnection1->GetTableNames(tableList,false);
>
> and looking for my table name in the tableList.
> Is there a diferent way?
> thanks:
> Ines
>

Just try to create the table in try-catch block. If you get an error - react
to it ;-)

Max
Technical Details
Message-ID: <3e51ec1a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!logbridge.uoregon.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e48ae55@newsgroups.borland.com> <3e48bb74@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,86d91dfc27ad9f81
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-02-18 00:22:47 PST
Reply-To: "Max Luzin" <maksim.luzin@wsy.lt>
From: "Max Luzin" <maksim.luzin@wsy.lt>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3e48ae55@newsgroups.borland.com> <3e48bb74@newsgroups.borland.com>
Subject: Re: Does Table exist?
Date: Tue, 18 Feb 2003 10:20:39 +0200
Lines: 20
Organization: Western Shipyard
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 212.59.13.100
Message-ID: <3e51ec1a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1045556250 212.59.13.100 (18 Feb 2003 00:17:30 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!logbridge.uoregon.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail