Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for existence of a control
Message
De
19/09/2002 05:56:58
 
 
À
19/09/2002 03:32:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00701952
Message ID:
00702171
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform