Print Page | Close Window

[SOLVED] HOWTO: Subtotals in group rows?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18127
Printed Date: 03 September 2025 at 10:15am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] HOWTO: Subtotals in group rows?
Posted By: mgampi
Subject: [SOLVED] HOWTO: Subtotals in group rows?
Date Posted: 28 March 2011 at 5:10am
Hi;

I found several samples for implementing subtotals in group rows using VB.
I tried to implement this in MFC but it fails summing up correctly.
The app is written with german locales, so I believe that this is the reason (decimal character?).
Has anyone ever solved this using MFC? Any help is very welcome!


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



Replies:
Posted By: mgampi
Date Posted: 28 March 2011 at 6:48am
I finally solved it!
Forgot to call CXTPReportGroupRow::SetCaption("x") to initiate calculation of the subtotals?
Would have saved me several hours of investigation when documentation were better!



-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net