Validate data in a listbox

  • Thread starter Thread starter madisonlynn
  • Start date Start date
M

madisonlynn

Hi,

I currently have 2 listboxes that when selected will populate into the
second listbox. I would like to know how I can also Validate that 1: the
listbox is not null and 2: the listbox doesn't have more than 5 items
selected. Now do I include this validation within the listbox function or
my validation function? And what would be the best way to check that if
item in list A is in list B don't add, if list B is null then add, & list
B is equal to 5 don't add. Any help is appreciated.

Thank you.
 
I have a question for you since you have created a multi-
select list box. In the list box I have, I wrote code to
pick up the items...but, when I pass them to my query, it
does not work. It only works if only 1 item is picked.
Could you tell me how you made it work.

Thanks
 
Back
Top