>Hi,
>
>
>IF VARTYPE(THIS.txtName)="O"
>
>
>I'd be inclined to add '.AND. !ISNULL(This.txtName)' to that.
>
>Regards,
>Viv
Viv,
I wouldn't. VarType() returns 'X' if the arg is null
I got hit by that a couple of days ago.
It only acts as type() if you add a second parameter: VarType(VariableName, TRUE)
Gregory