Solved

Paging query with ADODC and DataGrid

Posted on 2004-03-24
3
191 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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now