Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for existence of a control
Message
From
19/09/2002 05:56:58
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00701952
Message ID:
00702171
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform