Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Total number on Report is wrong
Message
From
18/01/2023 17:08:19
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01685844
Message ID:
01685845
Views:
42
>HI,
>
>I have been trying to figure out the following problem:
>
>I create a report with two bands. One band has a column EXT_PRICE. I select a small subset of records and the total (at the bottom) always show the number which is larger that the sum (calculated outside) of each item. And it looks like the difference is always by 2. I even view in the debugger that records in the cursor of the band and it shows all the numbers just like in the report. Yet, the total is different.
>
>The variable that shows the Total is set as follows:
>Value to store: CURPODET.EXT_PRICE
>Initial value: 0
>Calculation type: SUM
>
>Can you see what is missing?
>
>TIA
>
>UPDATE. I see that the difference in total is different in each case. Not always by 2.

just for testing, output the variable in each detail row of the report and watch the change. Also, check when does the variable reset.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform