Solved

Paging query with ADODC and DataGrid

Posted on 2004-03-24
3
199 Views
Last Modified: 2013-12-25
Hello, i´m creating a program where i make a query to a MySQL DataBase through a network.I´m using an ADODC control and a DataGrid. The problem is that it has 50000 registers and an amount of 50MB, and dates appear on the screen after 5 seconds which is too slow for the requirements that i need.
I care that the solution is make a paging query but i don´t know how do it.
Can anyone tell me how do it?
Thanks
0
Comment
Question by:martin11_ar
3 Comments
 
LVL 9

Accepted Solution

by:
dancebert earned 125 total points
ID: 10673109
Your are trying to solve a problem that wouldn't exist with good interface design.  A widely accepted rule of thumb is that most users can't handle more than 200 items in a grid or combo box.  The usual scenario is to create a search form where users select fields, relations and values (e.g. Sales Region = 9) then just return the data they asked for.  Not only will you get much faster reponse, the total load on the network, database and database server will be dramatically reduced.

0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question