Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Variables
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00281574
Message ID:
00281591
Views:
12
I just checked if I am crazy :), created the report and both ways gave exactly the same (right) result.
:)

>I figured out the problem. Doh! I forgot to take the calculations of the report fields when I changed the expressions to the report variables.
>
>Thanks,
>
>Michelle
>
>
>
>
>
>
>>>Am I confused as to what report variables do?
>>>
>>>I have a variable, "totamt". The initial value is 0, the value to store is "amount", the calculation is sum, and it releases at the end of the report.
>>>
>>>I thought this would give me the same result as a field at the end of report with the expression "amount" and the calculation of sum.
>>>
>>>But instead it is giving me a huge number and I don't know where it's getting it from.
>>>
>>>So how do I get a report variable to give me the total amount?
>>>
>>>Thanks,
>>>
>>>Michelle
>>
>>Michelle, try to set calculation to None and Value To store to
>>totamt + amount
>>
>>Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform