Ask a Question related to ASP Database, Design and Development.
-
Laphan #1
Paging an oRSv array
Hi All
I used to be able to page through data using the old:
oRSv.CursorLocation = 3
... ... ...
... ... ...
oRSv.PageSize = cMax
TotalPages = oRSv.PageCount
oRSv.AbsolutePage = RSPage
ii = 1
Do while not oRSv.EOF and not ii > cMax
.... .... ...
.... ... ...
etc
But now I've started to use the oRSv.getrows to speed things up and I don't
know the best way (or how for that matter) to page the data now that its in
an array rather than a oRSv....
I want to keep using this array method so if anybody has any paging routines
to cover this, I would really appreciate it if you could post them on to me.
FYR, I am using ASP / ADO / MySQL DB, so I can't use any SProc paging
routines.
Thanks
Laphan
Laphan Guest
-
[newbie]saving and reading array of associative array
i'm looking for examples of saving to file and reading back an array of associative array, in a ruby like way. saying i have something like : ... -
array data matches but array created in loop doesn't work
I have the exact same data in two arrays, but only the array created like so will work: $spaw_imglibs = array( array( 'value' =>... -
#24897 [Com]: array_multisort() will reindex the array but not if array length is 1
ID: 24897 Comment by: franklin_se at hotmail dot com Reported By: chro at sokrates dot uio dot no Status: ... -
#24897 [Opn->Asn]: array_multisort() will reindex the array but not if array length is 1
ID: 24897 Updated by: sniper@php.net Reported By: chro at sokrates dot uio dot no -Status: Open +Status: ... -
Accessing elements in array ref of array references
Currently I'm comparing the first value of each of the array references (which are stored in an array reference $ref_ref) as follows: ... -
Aaron [SQL Server MVP] #2
Re: Paging an oRSv array
[url]http://www.aspfaq.com/2120[/url]
--
[url]http://www.aspfaq.com/[/url]
(Reverse address to reply.)
"Laphan" <news@DoNotEmailMe.co.uk> wrote in message
news:40d88469_3@127.0.0.1...don't> Hi All
>
> I used to be able to page through data using the old:
>
> oRSv.CursorLocation = 3
> .. ... ...
> .. ... ...
>
> oRSv.PageSize = cMax
> TotalPages = oRSv.PageCount
> oRSv.AbsolutePage = RSPage
> ii = 1
>
> Do while not oRSv.EOF and not ii > cMax
> ... .... ...
> ... ... ...
>
> etc
>
> But now I've started to use the oRSv.getrows to speed things up and Iin> know the best way (or how for that matter) to page the data now that itsroutines> an array rather than a oRSv....
>
> I want to keep using this array method so if anybody has any pagingme.> to cover this, I would really appreciate it if you could post them on to>
> FYR, I am using ASP / ADO / MySQL DB, so I can't use any SProc paging
> routines.
>
> Thanks
>
> Laphan
>
>
Aaron [SQL Server MVP] Guest
-
Laphan #3
Re: Paging an oRSv array
Thanks Aaron
Aaron [SQL Server MVP] <ten.xoc@dnartreb.noraa> wrote in message
news:OU95F#IWEHA.2176@TK2MSFTNGP11.phx.gbl...
[url]http://www.aspfaq.com/2120[/url]
--
[url]http://www.aspfaq.com/[/url]
(Reverse address to reply.)
"Laphan" <news@DoNotEmailMe.co.uk> wrote in message
news:40d88469_3@127.0.0.1...don't> Hi All
>
> I used to be able to page through data using the old:
>
> oRSv.CursorLocation = 3
> .. ... ...
> .. ... ...
>
> oRSv.PageSize = cMax
> TotalPages = oRSv.PageCount
> oRSv.AbsolutePage = RSPage
> ii = 1
>
> Do while not oRSv.EOF and not ii > cMax
> ... .... ...
> ... ... ...
>
> etc
>
> But now I've started to use the oRSv.getrows to speed things up and Iin> know the best way (or how for that matter) to page the data now that itsroutines> an array rather than a oRSv....
>
> I want to keep using this array method so if anybody has any pagingme.> to cover this, I would really appreciate it if you could post them on to>
> FYR, I am using ASP / ADO / MySQL DB, so I can't use any SProc paging
> routines.
>
> Thanks
>
> Laphan
>
>
Laphan Guest



Reply With Quote

