Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Total number on Report is wrong
Message
From
19/01/2023 10:55:18
 
 
To
19/01/2023 10:10:16
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:
01685862
Views:
24
>There is such and such. It depends on your needs.
>I try to do as much as I can external of the report using SQL SELECT, creating a big fat cursor that I push into the report. Just for the purpose of the report. The report simply read the fields.

>Anyway, there are problems one can solve better by SCAN - well the report is a kind of SCAN, so I use the report vars.
>
>So yes for a SUM I would calc this externally in a SQL SELECT.

I would go even further with gentle cursor massage: where scan from report might be used with hickups like bands in or outside page breaks I often opt to build even running totals inside the cursor with stage table typical steps or even a scan over the cursor again before report.
Side benefit 1: I have something to save or compare with
Side benefit 2: target of eventual facepalms known ahead ;-)
Previous
Reply
Map
View

Click here to load this message in the networking platform