Hey Trace,
Laughing at my expense? :P
Besides the examples discussed in this thread--trying to check for a non-existant property of an object--where does vartype() cause an error? Perhaps you were checking for the property (using vartype()) without making sure the object existed first?
>I had to giggle here Steve. I had vartype all over an app too because I KNEW where the vars existed and where they didn't. That is, until new programmers brought onboard started releasing my variables where they shouldn't be and WHAM! no variable existed anylonger where it should have. Just to be safe, I switched them all to TYPE()instead. Crazy, but hey, I won't get that error anymore! :o)
>
>
Steve Gibson