Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comparing NULL Values
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01127149
Message ID:
01127203
Views:
12
Sergey,

If one or both are null the final result is .null. not .t. or .f.

>Your expression is correct. When both values are NULLs they neither equal nor unequal.
>
>>In this code, if either of the 2 values is null, lRetVal is set to NULL.
>>
>>
>>lRetVal = (Temp2.media_order_detail = nOrigModId)
>>
>>
>>How do I compare both values to see if they are the same?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform