Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select SUM and calculate sum() different values
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00382827
Message ID:
00382854
Views:
24
A couple issues right off --

If you're working with views, CALCULATE works off the latest version of the data, SQL-SELECT works off the last requeried version (this is from behavior, not knowledge of internals so may not be fully accurate). So, if you're editing an existing record, you may be seeing the difference between edited and original versions of data. The behavior may be the same for tables but I haven't tested this.

You may also see a difference in the handling of null and empty values between the 2.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform