473,395 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Large combo box

Hi,

I am setting the datasource to a combobox but there datatable has over
10,000 rows and it is responding rather slowly when setting the datasource
and the display and value members. I filter the choices by filtering the
dataview as they type. Is there a better alternative?

Thanks for any help

Steve.
Nov 21 '05 #1
1 888
Hi Steve,

Good practice (so I've read!) is to only return the minimal amount of data
from a db that is necessary for your app.

Because you haven't given much info. I have to guess that you are returning
a complete table, ie. SELECT * FROM tblName. You then state that you are
performing filtering on the returned dataset (well, again I am assuming
because you haven't said).

A better approach would be to do a level of 'filtering' BEFORE returning the
dataset. ie. SELECT thisColumn FROM tblName. If you then need other data
associated with the selection you might use a button to get the rest.

This suggestion may be way off base, hence the need perhaps to be slightly
more descriptive so that we can help you out! :-)

Regards, Phil
"Steve Lloyd" <st****************@livenowpaylater.co.uk> wrote in message
news:u%***************@TK2MSFTNGP15.phx.gbl...
Hi,

I am setting the datasource to a combobox but there datatable has over
10,000 rows and it is responding rather slowly when setting the datasource
and the display and value members. I filter the choices by filtering the
dataview as they type. Is there a better alternative?

Thanks for any help

Steve.

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Roy Padgett | last post by:
I have a combo box where users select the customer name and can either go to the customer's info or open a list of the customer's orders. The RowSource for the combo box was a simple pass-through...
1
by: Mike | last post by:
My users have to select an value from a fixed selection of values. The obvious choice of control for such a requirement is to use a <select> (i.e. a combo box). My problem is that sometimes,...
8
by: Richard Sherratt | last post by:
It's a database keeping info about people and is expected to contain 20,000 to 25,000 people. I could put a GoToPerson Combo on the form, but the customer and I are not to keen on that. It makes...
1
by: lgbjr | last post by:
Hi All, I need some advice. I have a table in MSDE2000 with about 3 million records. It's a city database. What I want to do is have 3 comboboxes on a form. The first would be to select a...
3
by: hmiller | last post by:
Hey everyone, I am having a hell of a time trying to set this menu system up. Here's what I'm trying to do. Combo Box One; is populated by names under properties "row source" "Phase 1"...
2
by: kiranmn75 | last post by:
I want to dynamically populate a combo box through javascript. Data is coming from a array. Sometimes data list may contain items in excess of 2000. Explorer takes more than 5 seconds to...
10
by: ARC | last post by:
This is mainly a speed question. In this example: I have a QuotesHdr table that has a few memo fields. If these memo fields are used extensively by some users, and if their are a large number of...
7
Ranjan kumar Barik
by: Ranjan kumar Barik | last post by:
Hi! I want to create a combo box that will contain too many data like name of all the countries. Is there any other method I can use to do that without adding all of them using the <option>...
2
by: questionit | last post by:
Having a combobox wiith large no. of values doesn't look very good. Is there a way for selecting values from different columns in multi-column combo box? Or can someone suggest a better...
2
by: ARC | last post by:
I'm testing a user's db that contains a very large number of records. I have an invoice screen, with an invoice select dropdown box that shows all invoices, and the customer's name, etc. With...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.