🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Does Table exist?

#2943
From: In�s Fern�ndez
Date: Tue, 11 Feb 2003 08:59
18 lines
1354 bytes
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

"In�s Fern�ndez" <ifernandezmed@terra.es> escribi� en el mensaje
news:3e48ae55@newsgroups.borland.com...
> How do I check if a Table already exists before creating it?
>
> TIA:
> Ines Fernandez
>
>
Technical Details
Message-ID: <3e48bb74@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!easynet-quince!easynet.net!newsfeed.hostname.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3e48ae55@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-11 01:10:03 PST
From: "In�s Fern�ndez" <ifernandezmed@terra.es>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3e48ae55@newsgroups.borland.com>
Subject: Re: Does Table exist?
Date: Tue, 11 Feb 2003 09:59:33 +0100
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 80.59.94.142
Message-ID: <3e48bb74@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1044953972 80.59.94.142 (11 Feb 2003 00:59:32 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!easynet-quince!easynet.net!newsfeed.hostname.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail