|
-
Sep 8th, 2000, 12:29 PM
#12
Thread Starter
New Member
code that works...
i = 0
Do While Not objRS.EOF
Do While True
If i >= lstLeft.ListCount Then
Exit Do
End If
If lstLeft.ItemData(i) = objRS("ID") Then
lstRight.AddItem lstLeft.List(i)
lstRight.ItemData(lstRight.NewIndex) = lstLeft.ItemData(i)
lstLeft.RemoveItem i
Exit Do
Else
i = i + 1
End If
Loop
i = 0
objRS.MoveNext
Loop
 TM
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
|