Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Retrieving Sets of Record via VB

RE: Retrieving Sets of Record via VB

From: Sherman, Edward <shermanej_at_eccic.com>
Date: Fri, 07 Feb 2003 06:38:51 -0800
Message-ID: <F001.0054701C.20030207063851@fatcity.com>


Use the ADO Reordset Object PageSize Property to logically divide the Recordset object into a series of pages, Each of which has the number of records equal to PageSize (except for the last page which might have fewer records).

http://members.evolt.org/help/caspdoc/html/ado_recordset_object_absolutepage _property.htm

I haven't done anything like this before but if you search the net for "ADO Recordset PageSize" I'm
Sure you'll find some examples to get you started.

Ed

> All,
>
> My current application is written in VB accessing the Oracle back-end.
> I have just been asked about how to execute a query that may return
> many thousands of rows, but only display, let's say, 1000 at a time.
> After the first set of rows was returned, the user would click a
> button and request the next thousand.
>
> We are currently using reference cursors and everything is working
> well.

I
> was wondering if anyone has done something like this, and how did you
> do

it?
> I could see using an inline view and re-executing the query every time
> and selecting the range of records to return. Storing the result set
> in a temporary/rollup table might also work. I obviously would need
> to clear this table out every night.
>
> Any other ideas?
>
> thanks
>
> Tom Mercadante
> Oracle Certified Professional
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Mercadante, Thomas F
> INET: NDATFM_at_labor.state.ny.us
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L (or the
> name of mailing list you want to be removed from). You may also send
> the HELP command for other information (like subscribing).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Igor Neyman
  INET: ineyman_at_perceptron.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the
message BODY, include a line containing: UNSUB ORACLE-L (or the name of
mailing list you want to be removed from).  You may also send the HELP
command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Sherman, Edward
  INET: shermanej_at_eccic.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Feb 07 2003 - 08:38:51 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US