🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GetFieldNames throws EOleExeption

#3905
From: Jerry Irons
Date: Sat, 11 May 2002 03:25
15 lines
1332 bytes
Hi,

I just used your scenario with C++Builder 5 Pro, Adoexpress,
connecting to an access 97 database with no problems.

I used:
ADOConnection1->GetFieldNames( "Pat_File", ListBox1->Items);
where Pat_File is the name of a table in the access database.
and also
ComboBox1->OnClick event:
ADOConnection1->GetFieldNames(ComboBox1->Text, ListBox1->Items);

with good results. Different scenario than yours I know...

-Jerry
Technical Details
Message-ID: <nd3pduchqu39b3dhuqthvo9hqne2nkf22a@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <abgsab$ppj$04$1@news.t-online.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,80dedba6f5d8ba9
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-05-10 20:31:58 PST
From: Jerry Irons <JIrons@compuserve.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: GetFieldNames throws EOleExeption
Date: Fri, 10 May 2002 23:25:00 -0400
Message-ID: <nd3pduchqu39b3dhuqthvo9hqne2nkf22a@4ax.com>
References: <abgsab$ppj$04$1@news.t-online.com>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.54.10.7
X-Trace: dnews 1021087552 24.54.10.7 (10 May 2002 20:25:52 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews