473,487 Members | 2,483 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Limit To List feature for Combo Box

Hi,

I've been using MS Access to devleop applications for long time, I like a
feature called "Limit To List" when setting combo box in design time (accept
text only when matches one of the listed choices).

Does anyone know a simple way to implement this feature on Windows form for
..Net developement? I've been searching this topic on lots of different
technical resource, but I still can't it. I'm very appreciate anyone can
give me a hand on this.
Nov 20 '05 #1
4 18408
In article <eS*************@TK2MSFTNGP12.phx.gbl>, ke*****@yahoo.com
says...
Hi,

I've been using MS Access to devleop applications for long time, I like a
feature called "Limit To List" when setting combo box in design time (accept
text only when matches one of the listed choices).

Does anyone know a simple way to implement this feature on Windows form for
.Net developement?


I'm not familiar with MS Access forms, but I think you're looking for a
DropDownStyle of DropDownList.

--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Nov 20 '05 #2
Hello,

"Patrick Steele [MVP]" <pa*****@mvps.org> schrieb:
I've been using MS Access to devleop applications
for long time, I like a feature called "Limit To List" when
setting combo box in design time (accept text only when
matches one of the listed choices).

Does anyone know a simple way to implement this feature on
Windows form for .Net developement?


I'm not familiar with MS Access forms, but I think you're looking
for a DropDownStyle of DropDownList.


This will prevent the user from typing text into the combobox control.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #3
Hi Rabbit,

I did a search on Google for "Limit To List" and there were plenty of
matches. Unfortunately too many for me to investigate on your behalf, but a
quick glance showed that others have the same question and some have
solutions.

You can also try searching Google Groups (use the Groups 'button' in the
row under the Google logo).

Keep "Limit To List" in quotes so that you get relevant matches.

Good hunting. :-)

Regards,
Fergus
Nov 20 '05 #4
In article <#N**************@TK2MSFTNGP10.phx.gbl>,
hi*******@m.activevb.de says...
I'm not familiar with MS Access forms, but I think you're looking
for a DropDownStyle of DropDownList.


This will prevent the user from typing text into the combobox control.


Yes, I know.

And it will "limit to list" too. :)

--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Nov 20 '05 #5

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

Similar topics

3
8197
by: Bob Alston | last post by:
I am using a combo box to select the key to records and then go to the selected record on my form. Works well. However, the list, which contains people names, is rather long. What I would like...
3
6625
by: deko | last post by:
Is there any way to limit the number of records loaded into a ListBox? I looked at qdf.MaxRecords (to apply to the query that is the RowSource of the ListBox) but that only applies to ODBC data...
4
1908
by: tlyczko | last post by:
I read about limiting combo boxes' list data, for example, limiting the list of values in the second combo based on values in the first combo, and I found the Dev Ashish site link. I have two...
5
6112
by: krwill | last post by:
I'm trying to automate a combo box to add a record to the source table if it's "Not In List". I've tried many different examples and none have worked. Combo Box Name = Combo24 Source Table...
2
2361
by: JweldonH | last post by:
My issue probably has a simple answer. I want to limit a populated combo box to items that are NOT in use in another table. I have a Table with a field that looks up values from another table via...
3
3496
by: rhobson2 | last post by:
Hello, I wrote a database applicaiton using Access XP (2002) and everything has been working good for the client until they purchased a couple of new computers with Access 2003. The meetings...
2
6212
by: Lysander | last post by:
I have not seen this feature documented before, so I thought I would share it with you, as I will be using it in a later article. For a combo or list box, the source data is normally a...
1
4137
by: injanib via AccessMonster.com | last post by:
is it possible that if the limit to list property of a combobox is set to true the focus is passed onto another field? What I mean is that I have a combo box with the limit to list property set to...
3
1728
by: Phil Hellmuth | last post by:
Does .NET have a feature so that I can create a combo box where the user is NOT limited to the contents of the list? In other words, can I create a drop-down where, besides the option of selecting...
0
7108
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
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7181
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...
1
6847
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
7352
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5445
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,...
1
4875
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
272
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.