Posted 8 January 2018, 2:55 pm EST
My report has two detail subsections DetailA, DetailB, together taking the height of the page.
When DetailB is hidden, I want to increase or autogrow the height of DetailA; when DetailB is show, decrease DetailA height.
Something like this is working for the visibility of DetailB, but not for the change in height of DetailA
If [Page] = 1 Then
Detail.SubSections(1).Visible = False
Detail.SubSections(0).Height = 15000
Else
Detail.SubSections(1).Visible = True
Detail.SubSections(0).Height = 10410
EndIf
I have autogrow turned on.
Also, I have anchors set so that the vertical lines that are drawn in DetailA will resize according to the size of the subsection. But this is not working either.
I’ve been search this forum for help but everything of interest gives me a 404 not found error, bad link.