>>It's a wrong approach. See my original reply for correct answer.
>>
>>You can use TYPE("myObject.myObject") = 'O' and !insull(myObjec.myObject)
>>
>>If you don't have your property defined VARTYPE will give you an error. That's why PEMSTATUS() function was introduced.
>>
>
>Vartype won't give an error if the property is not defined.
>It will only give an error if the property is defined and either hidden or protected
Interesting. I guess I would need to do some experiments on Sunday.
Thanks a lot.
If it's not broken, fix it until it is.
My Blog