🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: OpenSchema

#4698
From: Rick Golden
Date: Thu, 15 Nov 2001 20:39
28 lines
1820 bytes
Can you be a little more specific....

the database your using... which one does not work???

this works for me....

 ADOConnection1->OpenSchema(siTables, EmptyParam, EmptyParam, ADODataSet1);
 ADOConnection1->OpenSchema(siColumns, EmptyParam, EmptyParam, ADODataSet1);


bye!




Ken Mackenzie <ken@kenmackenzie.com> wrote in message
news:3bf2ca01_1@dnews...
> I am trying to retrieve a recordset containing stored procedures, primary
> and foreign keys, and all other relevant database objects using the
> TADOConnection::OpenSchema() command. In some cases it works (with Tables
> for example using "siTables"), but in many others I get an exception. What
> am I doing wrong? Any suggestions and/or sample code would be appreciated.
>
> Many thanks,
>
> Ken.
>
>
Technical Details
Message-ID: <3bf42788_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!sjcppf01.usenetserver.com!usenetserver.com!newsfeed1.cidera.com!Cidera!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3bf2ca01_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,54c532d9d1a9ed2f
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-11-15 12:41:40 PST
Reply-To: "Rick Golden" <GoldenRick@hotmail.com>
From: "Rick Golden" <GoldenRick@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3bf2ca01_1@dnews>
Subject: Re: OpenSchema
Date: Thu, 15 Nov 2001 15:39:25 -0500
Lines: 30
Organization: Gold
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 198.168.250.105
Message-ID: <3bf42788_2@dnews>
X-Trace: dnews 1005856648 198.168.250.105 (15 Nov 2001 12:37:28 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!sjcppf01.usenetserver.com!usenetserver.com!newsfeed1.cidera.com!Cidera!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews