Hello,
I have a report with a subreport that has a subreport that as a subreport and so on. I have so far 6 levels and each of them is linked to his parent. What I'm trying to do is when a new page starts, I want to show the names of his parents.
Now, what I was thinking to do that is to create 5 groups on the main report and hide/unhide them depending on the level that is starting the new page. Of course, everytime a new level appears, the name would be save in a textbox that would be shown in the appropriate groups.
Example:
(Page 1)
Level 1
Level 1
Level 2
Level 2
Level 1
Level 2
Level 3
Level 3
(Page 2) - This page starts with a level 4
Level 1 <- Parent of level 4
Level 2 <- Parent of level 4
Level 3 <- Parent of level 4
Level 4 <-Starts here
Level 3
Level 1
...
The problem I have is that I can't hide/unhide a group header on the main report within a subreport in a detail_print event. Any clue?
I have a report with a subreport that has a subreport that as a subreport and so on. I have so far 6 levels and each of them is linked to his parent. What I'm trying to do is when a new page starts, I want to show the names of his parents.
Now, what I was thinking to do that is to create 5 groups on the main report and hide/unhide them depending on the level that is starting the new page. Of course, everytime a new level appears, the name would be save in a textbox that would be shown in the appropriate groups.
Example:
(Page 1)
Level 1
Level 1
Level 2
Level 2
Level 1
Level 2
Level 3
Level 3
(Page 2) - This page starts with a level 4
Level 1 <- Parent of level 4
Level 2 <- Parent of level 4
Level 3 <- Parent of level 4
Level 4 <-Starts here
Level 3
Level 1
...
The problem I have is that I can't hide/unhide a group header on the main report within a subreport in a detail_print event. Any clue?
Comment