Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I need help with null values
Message
From
07/08/2001 15:02:20
 
 
To
07/08/2001 14:51:27
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00540860
Message ID:
00540898
Views:
32
>Thanks for the reply J.C.
>
>I saw the VFP documentation that says that it ignores NULL values. If it does, then why is it that x is not NULL? As you can see from my example code, I initalize x to NULL first then call the CALCULATE command.
>

If you calculate an AVG() on a field in a table with no records, you get 0.00 as the result. As far as the CALCULATE command is concerned, your table has no records.
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform