Validate data in a listbox

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.
 
K

karen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top