Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Child row in reportfooterrows
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Child row in reportfooterrows

 Post Reply Post Reply
Author
Message
MaikelGijsbers View Drop Down
Newbie
Newbie


Joined: 16 October 2008
Location: Netherlands
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote MaikelGijsbers Quote  Post ReplyReply Direct Link To This Post Topic: Child row in reportfooterrows
    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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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.
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.188 seconds.