🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to use ADO's NextRecord method?Please give me a sample!

#5993
From: Trash Yi
Date: Wed, 13 Dec 2000 04:47
27 lines
1479 bytes
For example:

TADOQuery *adodb =new TADOQuery(this);
adodb->Connection = adodbconn;  // adodbconn is a TADOConnection object
adodb->SQL="SELECT * FROM Users";
adodb->Open();
while(!adodb->EOF)
{
     .................... // your code
     adodb->Next();
}
delete adodb;

That's all . Good luck .


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sorry , my English is pool , don't mind please .

I'm a Chinese .

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
softwind <softwind_km@km169.net> wrote in message news:3a308103_2@dnews...
>
>
>
Technical Details
Message-ID: <3a36fe04_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.cs.utwente.nl!newsfeed.wirehub.nl!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!dnews!210.77.135.116
References: <3a308103_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,55e294b66d82cea,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2000-12-12 20:46:25 PST
From: "Trash Yi" <yiwei@444.net>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3a308103_2@dnews>
Subject: Re: How to use ADO's NextRecord method?Please give me a sample!
Date: Wed, 13 Dec 2000 12:47:20 +0800
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 210.77.135.116
Message-ID: <3a36fe04_2@dnews>
X-Trace: 12 Dec 2000 20:41:40 -0800, 210.77.135.116
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.cs.utwente.nl!newsfeed.wirehub.nl!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!dnews!210.77.135.116