![]() |
[SOLVED] HOWTO: Subtotals in group rows? |
Post Reply ![]() |
Author | |
mgampi ![]() Senior Member ![]() ![]() Joined: 14 July 2003 Status: Offline Points: 1201 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
mgampi ![]() Senior Member ![]() ![]() Joined: 14 July 2003 Status: Offline Points: 1201 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |