Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IsBlank()
Message
De
21/01/2003 19:50:21
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
21/01/2003 18:27:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00744047
Message ID:
00744090
Vues:
14
>i sometimes work with long strings (i.e. to build an sql or filter command) i then check that string if it is empty with "IsBlank(StrToCheck)".
>
>i gues there is a limitation in IsBlank() since it sometimes triggers the error "string to long to fit".

For a discussion of the difference between ISBLANK(), EMPTY() and ISNULL() see http://fox.wikis.com/wc.dll?Wiki~IsNullIsBlankEmpty~VFP.

A comment on "String too long to fit" - From "Visual FoxPro System Capacities" in Help, the maximum length of a string literal is 255 characters. You can, however make a much longer string by concatenating smaller literal strings into a larger one contained in a variable. It appears that ISBLANK() has the same limit as a string literal while EMPTY() does not.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform