>Hi,
> I have a property of myclass that store the reference of an object. How to RELEASE the property? I try myclass.oObjRef = .NULL.
>does it RELEASE the object?
>
>Thank you
oObject.cProperty = .null. should work. Yes, this realease the object as well. You might want to explicitly release the object first then clear the value of the property.
oObjectReferredTo.Release && if it has a release method
oObject.cProperty = .null.
orRelease oObectReferredTo
oObject.cProperty = .null.
Mark McCasland
Midlothian, TX USA