>...or something. I am using VFP8 SP1. When items in a Collections object are holding an object reference to forms, an object variable in a FOR EACH loop will change to logical when the loop is exited. Here is the repro code:
>
That's a reported (and annoying !!) bug. Look in the bug list - reported by Randy Pearson.
It makes using FOR EACH with collections sketchy.
Cheers,
Jamie