troubleshooting Question

Fun with VB6 Collections: How to find an index

Avatar of ExtremeFitness
ExtremeFitness asked on
Visual Basic Classic
4 Comments1 Solution272 ViewsLast Modified:
given:

  For Each oReq In oCol
        If oReq.FindSingleDetailByDbField("Freeze_Date") Is Nothing Then
            oUnFCol.Add oReq

            At this point can is there a way to tell the index of oReq in the collection oCol
            So that i can perform :

            oCol.Remove


            Or alternatly is there another good way to identify the item an removing it at this point?


        End If
  next
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros