🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TAdoConnection and OpenSchema

#438
From: Cabrera
Date: Mon, 06 Mar 2006 12:00
19 lines
1381 bytes
I want to read all tables names and I write
     ....
      int bounds[] = {0,3};
       OleVariant A(bounds,1, varVariant);
       A.PutElement(varEmpty,0);
       A.PutElement(varEmpty,1);
       A.PutElement(varEmpty ,2);
       A.PutElement("TABLE",3);
          
         m_cpConnection->OpenSchema(siTables,A,varEmpty,m_cpRecordset);

m_cpConnection is derived from TAdoConnection and is activ
m_cpRecordset is als TAdoDataset declared, i use CBuilder6

By attempting to run this code I receive a Exception (the Parameters are wrong .....

How can I do???
Thanks
Technical Details
Message-ID: <440c3272$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,c12374b23767ae55,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Cabrera" <ivette.garrido@biesenbruc.de>
Sender: "Cabrera" <ivette.garrido@biesenbruc.de>
Reply-To: "Cabrera" <ivette.garrido@biesenbruc.de>
Subject: TAdoConnection and OpenSchema
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 82.207.211.141     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <440c3272$1@newsgroups.borland.com>
Date: 6 Mar 2006 05:00:34 -0700
X-Trace: newsgroups.borland.com 1141650034 207.105.83.66 (6 Mar 2006 05:00:34 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail