Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multiple selection checkbox control

Status
Not open for further replies.

jaydy

MIS
Nov 9, 2003
27
PH
does anyone here know how to create a checkbox that's inside a listbox (so that i can have a fixed length and width and just scroll the listbox down for more checkbox options)...where i could check multiple items?

another question, i actually tried out the code used in the northwind sample database for saving and retrieving picture files from a file picker dialog...but it won't work. VB won't accept the fileDialog method of the application object. why is that? then i tried declaring a variable as a fileDialog object, it wouldn't work either. help pls thanks!
 
My approach to such a challenge would be to create a dummy table and create a linked sub-form. htwh,

Steve Medvid
"IT Consultant & Web Master"

Chester County, PA Residents
Please Show Your Support...
 
You may also simply consider the MultiSelect property of the listbox.

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
yeah, well i made one of my controls a listbox..but with this other field i'm doing, the person i'm doing it for wants it to be in checkbox control. ive encountered some forms which have checkboxes that could make more than one selection. is there a specific control for that..like a checkbox control that's inside a listbox (so it can have multiple selections)..or is there any other way to work around this? really need help thanks :)
 
How many checkboxes do you need in this Option Group?

[COLOR=006633]Bob Scriver[/color]
MIState1.gif
[COLOR=white 006633]MSU Spartan[/color]
 
well, for the field that i was initally talkin about which i already made a listbox...that has around 22 items. but for this one i will only need 6 checkboxes.
 
This is too many considering the numering scheme that I was contemplating. If the MultiSelect Listbox is not an option due to your superiors requirements, then the best answer is to use individual checkboxes and store the values for each as a seperate field. Just create your series of checkboxes with the appropriate labels and also create the correstponding fields in your table. You can make it look like an option group with a transparent box with a border and label around it so that it seems they are all related.

PHV: [highlight]Congrats on the TipMaster Award.[/highlight]

[COLOR=006633]Bob Scriver[/color]
MIState1.gif
[COLOR=white 006633]MSU Spartan[/color]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top