Article View: borland.public.cppbuilder.database.ado
Article #516Re: How to retrieve data from an ADO query
From: George Nakos
Date: Tue, 30 Aug 2005 14:16
Date: Tue, 30 Aug 2005 14:16
25 lines
1676 bytes
1676 bytes
On Tue, 30 Aug 2005 16:55:20 +0300, Vladimir Stefanovic
<antivari@po.sbb.co.yu> wrote:
> Something like this /UNTESTED!!!/
>
> ADOQuery1->Open();
>
> for ( int i=0; i<ADOQuery1->RecordCount; i++ )
> {
> AnsiString ROW = ADOQuery1->FieldValues["Field1"] + ", " +
> ADOQuery1->FieldValues["Field2"];
> SomeStringList->Add( ROW );
> ADOQuery1->Next();
> }
>
>
>
Thanks a bunch! I'll give it a shot and tell you what happens!
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Technical Details
Message-ID:
<op.swbq98fhqf2fxd@promitheas.metron.internal>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<op.swbnqgj9qf2fxd@promitheas.metron.internal> <4314651e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,8fb1b60fd2dcc362 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: How to retrieve data from an ADO query References: <op.swbnqgj9qf2fxd@promitheas.metron.internal> <4314651e@newsgroups.borland.com> Message-ID: <op.swbq98fhqf2fxd@promitheas.metron.internal> From: "George Nakos" <gnakos@metronco.gr> Organization: Metron LTD Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-7 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable Date: Tue, 30 Aug 2005 17:16:46 +0300 User-Agent: Opera M2/8.10 (Win32, build 7685) NNTP-Posting-Host: 83.235.222.66 X-Trace: newsgroups.borland.com 1125411302 83.235.222.66 (30 Aug 2005 07:15:02 -0700) Lines: 25 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail