My Assistant
![]() ![]() |
|
|
Apr 25 2006, 06:55 AM
Post
#1
|
|
|
New Member Posts: 2 |
I am creating a form and need to create multi-select list boxes.
For example: I have Category and under that is: Hardware Software Services Accessories Other The user may want something from four of the choices. I need it set up that once they select their choice they can then select from Type - depending on each Category and then Make and Model. Any help in this would be most grateful. Thanks |
|
|
|
Apr 25 2006, 07:08 AM
Post
#2
|
|
|
UtterAccess Ruler Posts: 1,208 From: Cochrane, Ontario, Canada |
Welcome to UA!!
Sounds like you want cascading combo boxes. Check out the "Cascading Combo Boxes Database" sample on Candace Tripp's Sample Site. Hope this helps... |
|
|
|
Apr 25 2006, 07:21 AM
Post
#3
|
|
|
New Member Posts: 2 |
Thanks a co-worker told me about this website. I have looked at the cascading Combo Boxes and unfortunately they are not what I want. The multi-select will allow me to select several items from each list. I have tried doing it but am doing something wrong.
Thanks for pointing me to Candace site. There are a couple of things in there that are very useful to me. |
|
|
|
Apr 25 2006, 08:05 AM
Post
#4
|
|
|
UtterAccess Ruler Posts: 1,585 From: Oxford UK |
I think what you need to do is create SQL on the fly with multipel criteria written to a string.
So your SQL to populate the second list becomes a bit like this: strWHERE1 = Me.ListBox.Column(0) Next Item strWHERE2 = Me.ListBox.Column(0) ... strSQL = strSQL & strWHERE 1 & "Or " & strWHERE2 and so forth... Or am I barking up the wrong tree? |
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 24th May 2013 - 09:32 AM |