|
-
Mar 11th, 2004, 02:43 PM
#1
Thread Starter
New Member
How do I scan the contents of a listbox and add a value if it doesn't exist in list?
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|