Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
If empty
Message
 
 
To
09/04/2009 06:26:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01393914
Message ID:
01393944
Views:
63
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."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform