Print Page | Close Window

Child row in reportfooterrows

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=12457
Printed Date: 24 November 2024 at 5:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Child row in reportfooterrows
Posted By: MaikelGijsbers
Subject: Child row in reportfooterrows
Date 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



Replies:
Posted By: Aaron
Date Posted: 24 October 2008 at 3:16am
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....


Posted By: mdoubson
Date Posted: 24 June 2009 at 9:04pm
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

-------------
Mark Doubson, Ph.D.


Posted By: Aaron
Date Posted: 26 June 2009 at 2:30pm
Originally posted by mdoubson mdoubson wrote:

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
 
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....


Posted By: mdoubson
Date Posted: 26 June 2009 at 2:36pm
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.


-------------
Mark Doubson, Ph.D.



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