Solved

Paging query with ADODC and DataGrid

Posted on 2004-03-24
3
205 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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 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…
Suggested Courses
Course of the Month8 days, 9 hours left to enroll

617 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