WITH oMyObj .SomeProperty=.T. SomeFunction() .AnotherProperty=.F. ENDWITH * ...more code in this procedure Function SomeFunction() .YetAnotherProperty=.T. ReturnIf .YetAnotherProperty is a property of oMyObj in the calling code, this will resolve OK in the function SomeFunction. But I thought that WITH / ENDWITH only scoped to the current procedure. What's up?