Child row in reportfooterrows |
Post Reply |
Author | |
MaikelGijsbers
Newbie Joined: 16 October 2008 Location: Netherlands Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 16 October 2008 at 11:33am |
I've a reportcontrol in which I want to put childrows in the reportfooters.
However when I add child records to the reportfooter records these child records are not displayed. Looping the footerrecords shows me that the records have childs. When I however loop the footerrows the rows have no childs. Set Record = rptc.FooterRecords.Add() Record.Tag = "T1" Set Item = Record.AddItem("Parent") Set ChildRecord = Record.Childs.Add() ChildRecord.Tag = Record.Tag & "_1" Set Item = ChildRecord.AddItem("Child") Is it possible to have child records shown in a tree in the footerrows? I use ActiveX.reportcontrol v11.2.2. With regards, Maikel |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
It looks like the childs are added but aren't shown. Plus/minus sign isn't showing either. My guess is, this is a bug...
I will add this to my major issue post as well and maybe this will be fixed as well.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
No - this is by design - report header and footer rows supposed to be simple all-report-related data like total by column and so on
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
This reply took CodeJock supportmember about 8 months and 9 days to think about what to answer... And the answer is: No, it's designed.
It is possible to add the childs, I did test about 8 months ago, but it doesn't show the childs on screen. It allows me to add the childs but it's not designed for this... Huhhhhhhhhhhh ???????????
Why do you allow adding childs anyway??????
But thank you for clearing this on short notice
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Aaron - this is not my design so calm down
You can ask any of MFC Forum guys same question as they have full code or maybe just search in MFC Report Forum threads.
Header and Footer rows can be later move to Body part and back so all extra details from Child kept.
There are API to add / remove to / from Header and same for Footer.
|
|
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 |