|
-
Feb 1st, 2010, 04:54 AM
#1
Thread Starter
Junior Member
[RESOLVED] Remove item from listbox if exists in another listbox
I have 2 listboxes on my form.
Listbox 1 - populated with "available" field names
Listbox 2 - populated with "selected" field names.
There cannot be the same field name in both listboxes - it's either one of the other.
The logic I was going to apply was to populate Listbox 1 with every field name ... and then as I populated Listbox with the field names which the user has already selected, remove the corresponding item from Listbox 1.
However I cannot for the life of me get the remove to work!
How do I remove based on the text string of the item - rather than the index position??
Tags for this Thread
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
|