Solved

Paging query with ADODC and DataGrid

Posted on 2004-03-24
3
197 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

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…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

777 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