R
Ryan
This is a 2 part question.
1. I was wondering how to check to see if an item is in
a listbox through code. For example: I want to check if
item1 is located in listbox1.
-The reason why is I want to perform different actions
depending on which values are contained in the list box
(it gets its values through a query)
2. How would I go about referencing a selected item in a
list box, I don't know the syntax for something like:
If item1 is selected in listbox1 then perform action1.
Any help would be greatly appreciated.
Ryan
PS sorry if it is confusing the way I worded the
question. Please let me know if you need more
clarification.
1. I was wondering how to check to see if an item is in
a listbox through code. For example: I want to check if
item1 is located in listbox1.
-The reason why is I want to perform different actions
depending on which values are contained in the list box
(it gets its values through a query)
2. How would I go about referencing a selected item in a
list box, I don't know the syntax for something like:
If item1 is selected in listbox1 then perform action1.
Any help would be greatly appreciated.
Ryan
PS sorry if it is confusing the way I worded the
question. Please let me know if you need more
clarification.