>It was my understanding that VARTYPE would only pass an 'O' if the variable was a living object. If VARTYPE were to classify a dead object it would return an 'X' because the variable was NULL.
>
>Glenn
Glenn,
I stnad corrected. If you omit the second argument for VarType() then it will return X for a value of NULL. Although I cuation about using VarType() as it is desinged to be faster and will fail with an error on certain conditions, like checking the type of a property of a non-existant object.