Hi John,
Don't use FOR EACH..., because FOR EACH don't return fox interface.
You can use keyword FOXOBJECT for FOR EACH, but only in VFP 9.0
MartinJ
>Hi,
>I have empty objects with 5 properties defined, added into collection object. I faced problem that AMember() doesn't return correct value in FOR EACH loop. It always return 1.
>
>Any ideas?
>
>Thank you