Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a service pack in the pipe
Message
De
21/02/2004 17:05:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00879242
Message ID:
00879667
Vues:
12

Are you saying that VARTYPE is okay when:
VARTYPE(MyForm.Name)==[C]?


I say this:
if
- VARTYPE(m.MyForm)=="O"
and
- m.MyForm is a reference to a VFP object
and
- the object m.MyForm have the property Name
then
- VARTYPE(m.MyForm.Name)==[C] is usable and return a okay value.

Until now, I have not found a adverse proof.

But:
if
- you use VARTYPE(MyForm.Name)
and
- exist ALIAS(nn)='MyForm'
and
- not exist a FIELD(mm,'MyForm')=='Name'
then
- VARTYPE not return "U", but fire a error ( it is a bug ).

Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform