>>>>I may create a collection class. Do you have any examples of doing that?
>>>
>>>Sorry but no. It won't be elegant either, you will need to create an ad-hoc ForEach method for traversing the collection
>>>
>>>>
>>>>A lot of people complain that things that are so easy to do in VFP are hard to do in .NET. It seems just the opposite here.
>>>
>>>To be fair, you should compare current versions, otherwise I could claim that .NET is crap with data, as it was in version 1 <g>
>>
>>Yes, you are correct.
>>
>>Thanks for the help. I am creating a StringCollection class in my .NET library that I will call from VFP. Easy Peasy.
>
>VFE had a collection class which worked in VFP7 - it was based on an array, and IIRC used AScan() to find the elements by key. It did have the proper method names which later appeared in VFP8's native collection class, so when you recompile that under VFP8 or 9, you'd only have to remove that class and everything would work.
I read that the VFP 8 collection class was buggy.