🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

how to use OpenSchema Method.

#4115
From: Mortalpain
Date: Wed, 20 Mar 2002 11:32
27 lines
1521 bytes
hi~ all.

i'm trying to use openschema method.

but it's very difficult.... specially second and third parameters

for example

void __fastcall OpenSchema(const TSchemaInfo Schema, const OleVariant
&Restrictions, const OleVariant &SchemaID, TADODataSet * DataSet);

what is const OleVariant &Restrictions ?

and what is const OleVariant &SchemaID ?

help is lack of explainations....

there are in My source

OleVariant Restrictions = WideString("TABLE_NAME");

objConn->OpenSchema(siTables, Restrictions, NULL, objRsSchema);
objRsSchema->Open();

help me please....

Good Programming and all happy~ :-)
Technical Details
Message-ID: <3c987417$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!62.24.128.9.MISMATCH!news-1.opaltelecom.net!newsfeed.icl.net!oleane.net!oleane!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,cdca7ec5f3bcafce,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-03-20 03:39:44 PST
From: "Mortalpain" <mortalpain@mortalpain.net>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: how to use OpenSchema Method.
Date: Wed, 20 Mar 2002 20:32:19 +0900
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 211.49.82.224
Message-ID: <3c987417$1_1@dnews>
X-Trace: dnews 1016624151 211.49.82.224 (20 Mar 2002 03:35:51 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!62.24.128.9.MISMATCH!news-1.opaltelecom.net!newsfeed.icl.net!oleane.net!oleane!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews