🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADO without ADOExpress

#5247
From: Sandor Bognar
Date: Tue, 26 Jun 2001 12:37
22 lines
1606 bytes
> Thanks for this
> I have tried but get error messages saying
> Misuse of typedef fields
> and
> undefind symbol iColumnPos.

I'm sorry I made a typo , the correct one is:

TVariant vVAlue = pRecSet->Fields->get_Item(iColumnPos)->get_Value();

And of course you must define the iColumnPos. You can ask the number of
fileds in the recordset using pRecSet->Fields->Count;

> I allso still can not see how this will display the recordset into a memo.

I'm not sure what you are saying here. vValue contains the value of the
"Cell" in the Recordset. You can display it wherever you want.
For example in an editbox : Edit1->Text = vValue;

HTH
Sandor
Technical Details
Message-ID: <3b388231$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3b179e3c_1@dnews> <3b1de867_1@dnews> <3b371915$1_1@dnews> <3b3838bb_2@dnews> <3b387689$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,e13bb3fb20c1e339
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-06-26 05:41:36 PST
From: "Sandor Bognar" <bognars@mail.uti.hu>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3b179e3c_1@dnews>  <3b1de867_1@dnews>  <3b371915$1_1@dnews>  <3b3838bb_2@dnews>  <3b387689$1_2@dnews>
Subject: Re: ADO without ADOExpress
Date: Tue, 26 Jun 2001 14:37:56 +0200
Lines: 27
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.163.25.120
Message-ID: <3b388231$1_1@dnews>
X-Trace: dnews 993559089 213.163.25.120 (26 Jun 2001 05:38:09 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews