Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - [SOLVED] HOWTO: Subtotals in group rows?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] HOWTO: Subtotals in group rows?

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] HOWTO: Subtotals in group rows?
    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 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.