简体   繁体   中英

Running Total in Chart in Header in Crystal Reports

Can I place a chart in a header section with a RT as the "show value" and have it calculate the RT properly?

The RT runs before the Chart, but the RT is calculated on the 3rd pass as does the chart after the header sections are run.

Things seem to be working

A bit confused by all this.

Thanks

No, you cannot reliably use a Running Total anywhere except in a footer or detail section. As a rule, RTs are calculated during the printing pass, that is to say, very late in the report's rendering. The same goes for using print-time variables/formulas. They might show a value in the report but the data will essentially be meaningless.

But you can use a basic summary function in the header like Sum() or Count() .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM