M
Malee
Hello all experts,
I create a report with total line as the last line of report. I design
program to summarize total values by code because they are generated from
complex function. As unexpected result,
Total values always double. I tried both summarize values in Detail_Format
and Detail_Print event within condition of IF FormatCount = 1 / IF
PrintCount = 1. But it does not help,
Result still double. Earlily, I think I can protect code to be executed
twice (or more) by checking FormatCount (or PrintCount) argument, But It
look like that I wrong. :-(
Question is :
- Could I summarize value by code ? Or I should not do that !!!
- What are traditional methods to do that ?
Any help, Appreciate so much.
Malee
I create a report with total line as the last line of report. I design
program to summarize total values by code because they are generated from
complex function. As unexpected result,
Total values always double. I tried both summarize values in Detail_Format
and Detail_Print event within condition of IF FormatCount = 1 / IF
PrintCount = 1. But it does not help,
Result still double. Earlily, I think I can protect code to be executed
twice (or more) by checking FormatCount (or PrintCount) argument, But It
look like that I wrong. :-(
Question is :
- Could I summarize value by code ? Or I should not do that !!!
- What are traditional methods to do that ?
Any help, Appreciate so much.
Malee