Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
If empty
Message
De
16/04/2009 06:18:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
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:
01395083
Vues:
57
>>>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.
>>>
>>
>>No, it is not a true statement. It might show as 'Memo' but empty() in that code would return true if memo only have white space created with CRLF, TAB and space.
>>
>>Update: BTW he took that part from me and glued with some new code. But he doesn't say what does 'not work' mean, what are the actual datatypes etc.
>>
>>Cetin
>
>Cetin,
>
>I just tested this and a Memo field with spaces, etc., returns a false for EMPTY().
>
>Chris

Chris,
I think I misinterpereted your saying wrong originally. Attached on code's top probably at that time I thought in reference to that code. Now reading your sentence alone here, you are right too. Sorry for the misinterpretation. Mine was about the code piece I showed in other post.

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform