473,396 Members | 1,843 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,396 software developers and data experts.

Hi, how can i select multiple items from a list box using check boxes?

i have a list box called Items which i want the user to selct items from. how can i make the selection by ticking check boxes rather than pressing ctrl key and the mouse. thank you
Jun 17 '10 #1
7 2753
ADezii
8,834 Expert 8TB
@gerryis2000
To the best of my knowledge, you simply cannot.
Jun 17 '10 #2
jimatqsi
1,271 Expert 1GB
How many entries in the listbox?

jim
Jun 17 '10 #3
missinglinq
3,532 Expert 2GB
I would say that's correct! And I'd also ask why in the world would you want to?

I think the closest you could come would be to replace the ListBox with a small form in Datasheet View with a Yes/No field bound to a checkbox.

Linq ;0)>
Jun 17 '10 #4
patjones
931 Expert 512MB
Access 2007 does allow multi-valued column entries, but many people view it as a misguided addition to Access; and at any rate there would be no way to implement that column on an Access front end in the manner you suggest. Maybe in VB .NET but I'm not sure.

If what you are trying to do is select many items from a list for a certain action to be performed in relation to those items, you might find this how-to useful: Double clicking to move an item between two list boxes

Pat
Jun 17 '10 #5
OldBirdman
675 512MB
My Access2003 listboxes have a MultiSelect property. When this property is set to "Simple", a mouse click on any row toggles the row to/from selected. No keyboard keys are necessary. If this is Access2007 and the listbox is bound to a field allowing multiple values, that may require the Cntl Key.
A sub-form can be designed to look like a listbox. This can have a checkbox and a text field. The listbox will have to be bound to a table with a boolean field (for example bSelRow). If this is a multi-user environmant, a temporary table can be created.
Jun 17 '10 #6
@OldBirdman
Thanks oldbirdman i got the i dea and it quite helped me!
Jun 19 '10 #7
OldBirdman
675 512MB
You're welcome
Jun 19 '10 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Mohammed Mazid | last post by:
Hi folks! Can anyone please help me with this? I am developing a Quiz program but I am stuck with "multiple answers". Basically I need some sort of code that would select multiple answers...
3
by: ted | last post by:
Hi, I can't figure out how to set multiple items in a ListBox to selected when the listbox is in a User Control. When the ListBox is set in directly into a form I can use the following:...
2
by: Henry Padilla | last post by:
I'm trying to select multiple items in a listbox and the demo from the help file is not working. What do I do to select multiple items in a listbox? Code sample below. Tom P. ...
5
by: chad | last post by:
Hi, Im new to C#, and I have a question. I can't figure out how to set the listbox control top select multiple items in a ListBox. I have tried using the following code, but C# VS 2005 PE...
2
by: shamilton785 | last post by:
I am relatively new to access. In my Access database table I want to create a drop down box that I can select multiple items from the box. Is this even possible?
2
by: anjali chhabra | last post by:
hi all i want to select multiple items in a drop down list .Plz help me out...........
1
by: vishnu2008 | last post by:
I am using MS Access (frontend), VB 6.0 (code) and SQL Server (DB) now. I have a combobox and textbox. I need to select multiple items from combobox which should be displayed in textbox. Items should...
4
by: swethak | last post by:
hi i wrote a code to select multiple items in a drop down list.And i store all the items in my database.But in that i select multiple items and submit that items last item only stored.Please...
1
by: KrazyKasper | last post by:
Access 2003 – Multi-Column List Box – Select Multiple Items I have a multi-column (3 columns) list box that works well to select one set of records or all sets of records (based on the first field...
4
by: Pufferfish | last post by:
Hi everyone, I want to be able to select multiple items from a drop down list. I have set up a second table with a list of records under one field called "Courses". On my main database table I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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
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.