L
laknight
Hello, I have a 1st List Box which contains a SELECT DISTINCT source from a
Query. I have the list box set to Simple Select. After the user selects a
record in the list, they hit the command button called SAVE and it moves the
selection into a 2nd list box which when the OK button is clicked are then
used as a filter on a report.
Question 1: How can I limit the number of records SAVED or ADDED to the 2nd
list box. I only want users to pass up to 5 records to the report for
filtering.
Question 2: Is there a way to automatically pass ALL the values in the 2nd
list box without selecting/clicking to highlight them all again and then
click on the OK button. The part of the OK button which contains the code
about selected items is
For Each varItem In .ItemsSelected
Can I do something like For Each varItem In .ItemsSelected.All ?
Using Win XP, Access 2003
Thanks a bunch!
Query. I have the list box set to Simple Select. After the user selects a
record in the list, they hit the command button called SAVE and it moves the
selection into a 2nd list box which when the OK button is clicked are then
used as a filter on a report.
Question 1: How can I limit the number of records SAVED or ADDED to the 2nd
list box. I only want users to pass up to 5 records to the report for
filtering.
Question 2: Is there a way to automatically pass ALL the values in the 2nd
list box without selecting/clicking to highlight them all again and then
click on the OK button. The part of the OK button which contains the code
about selected items is
For Each varItem In .ItemsSelected
Can I do something like For Each varItem In .ItemsSelected.All ?
Using Win XP, Access 2003
Thanks a bunch!