🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ADOMD: member properties again

#4099
From: Sorokoletov Gregory
Date: Fri, 12 Apr 2002 07:40
22 lines
1505 bytes
Hi,

In my OLAP- application I am use MEMBER PROPERTIES;

The following two lines of code might seem similar
but the first works fine and the second does not work!!!

Adodb_tlb::Properties *Prs02;
Property *Pr1;
Prs02= CellSet1->Axes->get_Item(1)->Positions->get_Item(J-
1)->Members->get_Item(0)->Properties;

// It works
int Cn1= CellSet1->Axes->get_Item(1)->Positions->get_Item(J-
1)->Members->get_Item(0)->Properties->Count;
// It does not work
int Cn2= Prs02->Count; // Generate An Error ?????

Please explain me why it happen?

Thanks,
Sorokoletov Gregory
Technical Details
Message-ID: <3cb68f6c_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.media.kyoto-u.ac.jp!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,48a82802976b7e78,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-04-12 00:53:43 PST
From: "Sorokoletov Gregory" <gsorokoletov@sovintel.net>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: ADOMD: member properties again
Date: Fri, 12 Apr 2002 11:40:30 +0400
Lines: 24
Organization: Sovintel
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 212.44.130.15
Message-ID: <3cb68f6c_1@dnews>
X-Trace: dnews 1018597228 212.44.130.15 (12 Apr 2002 00:40:28 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.media.kyoto-u.ac.jp!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews