Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Percentage in total line
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00320790
Message ID:
00321040
Views:
23
>Francis,
>
>You need to define a couple of report variables that contain the sum of X and Y. Call them SumX and SumY, their value is X and Y respectively and the calculation you're doing is SUM. The initial value is 0 and they are reset at the end of the group or report, depending on where your summary line is.
>
>The expressions for the total columns are therefore
>
>
SumX    SumY    SumX-SumY    round(((SumX-SumY)-SumX)/100,2)
>

I'm clearly missing something. Why is (X-Y)-X) not just -Y?
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform