🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADOX Syntax

#5063
From: Umberto Uderzo
Date: Fri, 10 Aug 2001 15:44
19 lines
1583 bytes
Hi Tony,

You need to import the Type Library from "Microsoft ADO Extension for DDL
and security", choose to create a unit and a class wrapper.
You obtain a TCatalog that you can instantiate like other VCL components.
This works well to see if a table exists, but don't think you can do
something better if you're not using JET (many of the ADOX features works
only with JET, sigh...)

Bye... Umberto

"Tony" <hse@hill-soft.com> ha scritto nel messaggio news:3b73d7c2_2@dnews...
> Does anyone have some example code for getting user and group information
> using ADOX and Builder? This is what I would like to do but I am getting
> compile errors.
>
> TCOM_Catalog Cat;
> Cat = CoCatalog::Create();
> Cat->set_ActiveConnection(ConnectString);
Technical Details
Message-ID: <3b740159_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-04!supernews.com!novia!novia!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3b73d7c2_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,48d0e5ff0cb72d06
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-08-10 08:53:18 PST
From: "Umberto Uderzo" <umberto@uderzo.it>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3b73d7c2_2@dnews>
Subject: Re: ADOX Syntax
Date: Fri, 10 Aug 2001 17:44:11 +0200
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 213.213.4.98
Message-ID: <3b740159_2@dnews>
X-Trace: dnews 997458265 213.213.4.98 (10 Aug 2001 08:44:25 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-04!supernews.com!novia!novia!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews