🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

GetFieldNames throws EOleExeption

#4000
From: Ralf-J. Triebel
Date: Fri, 10 May 2002 16:25
22 lines
1825 bytes
Hello,

I'm using the BCB 6.0 enterprise trial and have established a connection
to a MySql database via TADOConnection. I'm using the MySqlProv.3.0. 
Everything works fine. I'm able to get the table names by using

ADOConnection1->GetTableNames(ComboBox1->Items, true);

But GetFieldNames throws an EOleExecption if I use it like this:

ADOConnection1->GetFieldNames("browser",ListBox1->Items);

where "browser" is the name of my table, like shown by GetTableNames.

Does anyone have an idea what I'm doing wrong or has used that
command successful in the same environment?



Many thanks

Ralf-J.
Technical Details
Message-ID: <abgsab$ppj$04$1@news.t-online.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!newsfeed.wirehub.nl!newsfeed.online.be!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,80dedba6f5d8ba9,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-05-10 09:28:06 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!newsfeed.wirehub.nl!newsfeed.online.be!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
From: "Ralf-J. Triebel" <rjtriebel@web.de>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: GetFieldNames throws EOleExeption
Date: Fri, 10 May 2002 18:25:10 +0200
Organization: T-Online
Lines: 23
Message-ID: <abgsab$ppj$04$1@news.t-online.com>
Reply-To: "Ralf-J. Triebel" <rjtriebel@web.de>
Mime-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1021047947 04 26419 WPqEbzcGSMA13+ 020510 16:25:47
X-Complaints-To: abuse@t-online.com
X-Sender: 320083827173-0001@t-dialin.net
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