What I am trying to do is check the contents of a list box to find out if the value the user entered in a text box already exists in the list box. If it does, I'll display something like "This value already exists in the list". If not, I'll add the value to the listbox. I think I need to scan the contents of the listbox using a loop, but I can't get the syntax right. Help please.
