Microsoft
Software
Hardware
Network
Question : Selecting certain items
Hi, I'd opinions on how to best tackle this issue.
I have 12 option buttons, I for every month of the year. This is NOT an option group.
The user can choose more than one month. However, heres how I would like this to work
eg. If they choose May and then Aug, I want code to also select the months in between, so in total May, June, July and Aug should be selected. So you can imagine the combinations.
This is very similiar to selecting something in a listbox, Holding down the SHIFT button, selecting something else, and everything in between gets selected as well.
Should I create a collection of these items, or an array.
Whats the best way to approach this
Answer : Selecting certain items
Here in a database showing how to do it.
Note: Radio buttons usually indicates an option group. I would suggest checkboxes instead.
MultiSelect.mdb
(164 KB)
(File Type Details)
Demo database
Random Solutions
VBA Excel loop through selected area
Sql query returning different results each time it is run even though conditions are the same.
Centrally run macro - deployment
Resize all controls before form shows
I am a little confused how the right outer join on #d knows which table is to the right?
Windows 7 and .NET compatibility
Access 2007 Linked to Sharepoint with Drop-downs - type mismatch
.NET: Entity Framework, Views and Stored Procedures
Macro to carry formulas down a sheet
Changing Default Calendar in Outlook 2007