Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why I cannot search a NULL value ? BUG ?
Message
 
 
To
30/08/2003 14:27:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00824792
Message ID:
00824831
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform