Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Testing field data
Message
De
21/07/2001 06:38:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00533453
Message ID:
00533473
Vues:
11
You can use
if isnull(m.field) or empty(m.field)
>I frequently have to do tests to see if a field is blank. Sometimes I can do this with a test for field = "". But. frequently, this test does not return correctly. Even if the field is blank it returns F. So then I have to test against len(alltrim(field)) < 1. This always works.
>
>What am I missing on the first test or should I just stick with len(alltrim)
>
>Dennis
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform