Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why I cannot search a NULL value ? BUG ?
Message
 
 
À
30/08/2003 14:27:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00824792
Message ID:
00824831
Vues:
23
Fabio,

>LOCATE FOR A=NULL && i compare a logical NULL AND, correctly, NOT found it

You can not use NULL in a logical expression. NULL will never ever equal anything. This is why I posted earlier that you don't fully understand what null support means.

LOCATE for isnull( a ) && will find the first row with a null value.

Enter this in the command window:

? .null. = .null.

And you don't get .t. or .f. you get .null., because any operation that involves a null value must return null as its result.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform