Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IsBlank()
Message
 
 
À
21/01/2003 18:41:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00744047
Message ID:
00744056
Vues:
20
Michel,

It will work in SQL Server (it strips spaces before determining lenght)but not in VFP.
lcString = SPACE(1)
? LEN(lcString)  && Returns 1 but string is empty
>What my understanding, ISBLANK() is usually use against a field from a table. If you wish to detect if a string is empty, you may check LEN() function such as:
>
>
>IF LEN(lcString)=0
>   * Blank
>ENDIF
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform