🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Move between records.

#5920
From: Jirzi
Date: Fri, 12 Jan 2001 07:10
42 lines
1843 bytes
What about MoveBy method?
Maybe you can do this:

DataSet1->First();
DataSet1->MoveBy(3);

and you are on the third record.

Jirzi

"Alexei Karas" <nospam_AlexKaras_thatsextraaswell@hotmail.com> wrote in
message news:3a5dda31_1@dnews...
> Conserning ADO - NO. You may only use bookmarks or
> MoveFirst/Last/Next/Previous since SQL-oriented databases (and providers)
> have no idea about record number. Such thing is meaningless in SQL
> databases.
>
> HTH,
>     Alexei
>
> "Jorge Leibowich" <jorge@lid.com.ar> wrote in message
> news:3a5db631_2@dnews...
> > Hello, I got a table ordered by numbers, and I need to print in the
> printer
> > like this
> >
> > 1    6    11
> > 2    7     12
> > 3    8    13
> > 4    9    14
> > 5    10   15
> >
> >
> > Using for's is very complex!!! Are there any function to go DIRECTLY to
a
> > record (for example Query1->GORECORD(3) )
> >
> > Thanks you!
> >
> >
>
>
Technical Details
Message-ID: <3a5eadac_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!portc03.blue.aol.com!newsfeed.cwix.com!newsfeed.icl.net!newsfeeds.belnet.be!news.belnet.be!skynet.be!fu-berlin.de!news.bnb-lp.com!bornews.borland.com!dnews!193.189.191.231
References: <3a5db631_2@dnews> <3a5dda31_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,13df0096ab2e94b6
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-01-11 23:22:07 PST
From: "Jirzi" <jirzi@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3a5db631_2@dnews> <3a5dda31_1@dnews>
Subject: Re: Move between records.
Date: Fri, 12 Jan 2001 08:10:46 +0100
Lines: 44
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 193.189.191.231
Message-ID: <3a5eadac_1@dnews>
X-Trace: 11 Jan 2001 23:09:32 -0800, 193.189.191.231
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!portc03.blue.aol.com!newsfeed.cwix.com!newsfeed.icl.net!newsfeeds.belnet.be!news.belnet.be!skynet.be!fu-berlin.de!news.bnb-lp.com!bornews.borland.com!dnews!193.189.191.231