Re: Prompting large number of records
- From: "Veign" <NOSPAMinveign@xxxxxxxxx>
- Date: Thu, 4 Aug 2005 12:33:00 -0400
Where is the database? What is the database? How are you displaying them?
Is the delay in updating the display (common place where delays occur)...
- Rethink why 45K records are required - meaning does then end user actually
look through 45K records? (seems like they wouldn't since that is alot of
data to scroll through).
- Provide better filtering to only pull down the exact records the user
needs to see.
- Page the results and make it more manageable
Recordset::PageCount
http://www.devguru.com/Technologies/ado/quickref/recordset_pagecount.html
Recordset::PageSize
http://www.devguru.com/Technologies/ado/quickref/recordset_pagesize.html
- Use a stored procedure to only pull down a recordset containing a page of
data so 45K records are not traveling across the wire.
Paging through Records using a Stored Procedure:
http://www.aspfaqs.com/webtech/062899-1.shtml
--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
--
"Martin" <Martin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9F9FB683-55C5-4BB0-8204-0CE7D969B46A@xxxxxxxxxxxxxxxx
> Please help,
>
> I require to prompt on a customer master file of 45,000 records. When I
> load all these into my recordset it takes a long time (20 - 30secs). This
is
> unacceptable for my system. Can anyone show me some code that will allow
> this process to be a lot faster. e.g. can I load up a smaller amount of
> records at a time, and load in more as the user scrolls down.
>
> I am using VB6.0 and SQL Server 2000.
>
> Thanks for any help,
> Martin
>
.
- Follow-Ups:
- Re: Prompting large number of records
- From: Veign
- Re: Prompting large number of records
- References:
- Prompting large number of records
- From: Martin
- Prompting large number of records
- Prev by Date: Re: Prompting large number of records
- Next by Date: Re: Prompting large number of records
- Previous by thread: Re: Prompting large number of records
- Next by thread: Re: Prompting large number of records
- Index(es):
Relevant Pages
|