Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
If empty
Message
 
 
À
09/04/2009 06:26:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01393914
Message ID:
01393944
Vues:
64
You need to look at the actual values in these controls, particularly the EditBox. If the EditBox is linked to a Memo field, then I believe that EMPTY() is only true if value is zero-length.
>cAlias = Thisform.DataEnvironment.InitialSelectedAlias  && This is generic code in this case it is set to "Sore"
>Select (cAlias) 
>
>WITH ThisForm.pageframe1.page2
>  *IF EMPTY(.text1.value) AND EMPTY(.edit3.value)&&not work
>
>  *IF EMPTY(.text1.value) AND EMPTY(.edit3.text) )&&not work
> * IF EMPTY(.text1.value) AND EMPTY(alltrim(.edit3.text)))&&not work
>
>  *if ( empty(alltrim(nvl(.text1.value, ''),1,CHR(13),CHR(10),CHR(9))) and ; )&&not work
>     empty(alltrim(nvl(.edit3.value, ''),1,CHR(13),CHR(10),CHR(9))) )
>
>
>IF EMPTY(.text1.value) AND (isnull(.edit3.value) OR EMPTY(.edit3.value)) )&&not work
Christopher Reed
"The oxen are slow, but the earth is patient."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform