Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vartype: behavior
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00136852
Message ID:
00137372
Vues:
37
>I searched VS6 MSDN help file for this "activeform" reference of which you speak and I haven't found it yet. Where exactly is it?
>
>I see at the bottom of the VFP filtered docs for vartype()...
>
>

Remarks
>
>VARTYPE( ) is similar to the TYPE( ) function, but VARTYPE( ) is faster and does not require quotation marks to enclose the expression for which the data type is returned.
>
>VARTYPE( ) returns “U” if you specify a variable that doesn’t exist."


>
>I draw your attention to the last line.
>
>BTW, I don't know what an activeform object would have to do with an undefined variable. Do you? But, the method in which I use the function can and is called from anywhere, including forms.
>
>Have you attempted to reproduce this behavior?

No, not yet, but I believe you :)

I should've mentioned I meant the VARTYPE Help...I have another line in my help after your last line above. It says, "If there is no current active form, evaluating the Activeform...generates an error." Seems like it might be related to your situation...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform