Is it possible to create a summary field with sum of items on all previous pages (both versions : including or not including current page) ?
Thanks for help.
Best regards : Kamil Szostak
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hi Andrzej,
Yes, it is possible. I suggest that you review the "How to implement running totals across report pages" article which can be found at: www.devexpress.com/kbA2844, to find the information on how this can be done.
Please try this solution and let us know your results.
Thanks,
Vito
Hi Vito,
thanks for information but this solution works for groupHeader only, it doesn't work for pageHeader. I tried to create groupHeader with printOnEveryPage property. In debug time I noticed that all detail_beforPrint's are fired first than all pageHeaders and Footers.
Best regards : Kamil Szostak
Hi Kamil,
Sorry for the delay in responding.
The XtraReports internal architecture has been changed, and it looks like it is impossible to use this approach for PageHeader/PageFooter bands. Thank you for drawing our attention to this problem. We will correct this knowledgebase article as soon as we can.
However, from your post it is unclear whether you've achieved the desired results using the GroupHeader band or not. Do you need additional assistance on this subject, or we can close this issue? Please clarify this.
Thanks,
Vito
Hi Vito,
I haven't achieved the desired results, it would be very helpful if you could give me some advice.
Best regards : Kamil Szostak
Hi Kamil,
Thank you for the clarification.
Please describe the difficulties you are experiencing with implementing this functionality in your report in as much detail as possible, and post here a small sample project illustrating these problems. We will examine it and will do our best to find a solution for you.
Thanks,
Vito
Hi Vito,
I have posted small sample. I have attached mdb file with sample values and SampleReport.txt witch will illustrated proper sums in group bands.
Thanks in advance.
Best Regards: Kamil Szostak
Hi Kamil,
Thank you for the sample project.
I understand the functionality you wish to achieve and suggest that you use the double-pass technique to accomplish this task: create a document for the first time to calculate the required values, and then call the report's CreateDocument method again to print these values. Attached is a modified sample project demonstrating this approach in action. Please review it and let us know your results.
Thanks,
Vito
Hi Vito,
thank you for help. This solution works great.
Best regards : Kamil Szostak
finish