Try comparing some property, like oSource.Name because you can't compare two objects with the = sign. (At least in VFP3 or 5)...
FYI: You *can* use = to evaluate two objects in VFP6
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05