You would use FOR EACH and compare object property(s) to the value(s) you know.
>Ok, I know now how to get an index if one knows the key to a collection item
>nIdx = oCollection.getkey(cKey)
>
>and I now know how to get a key
>cKey = oCollection.getkey(nIdx)
>
>but how do you get either if you know neither? I have an object reference to an item but I do not know the index or key. Any ideas? > >Thanks > >Glenn