A
Al
I am trying to make a line that can grow and shrink up
till the bottom of the Detail section of a report only. I
am using the following line of code to draw the line that
can grow and shrink with the report:
Me.Line (0.852 * 1440, 1180)-(0.852 * 1440, 11000)
The problem with this approach is that I have a report
printed with different filters which, sometimes, make the
detail section shorter or longer. Since the line is
growing through out the report (header, detail, and
footer), it will be on the entire page (header, detail,
and footer) even though, that sometimes half of the page,
only, has data and the rest is blank. Is there a way to
make the line grow or shrink based on the bottom of the
detail section only not the entire page. I tried to use
the following but it did not work:
Me.Line (0 * 1440, Me.Line1.Top)-(0 * 1440, 4400 +
Me.Detail.Height)
Where 4400 = the distance from Line1 to the bottom of the
page Header .
When I used me.pageheader.height + Me.Detail.Height, I got
Unidentified qualifier on the PageHeader?
Any idea
Thanks
Al
till the bottom of the Detail section of a report only. I
am using the following line of code to draw the line that
can grow and shrink with the report:
Me.Line (0.852 * 1440, 1180)-(0.852 * 1440, 11000)
The problem with this approach is that I have a report
printed with different filters which, sometimes, make the
detail section shorter or longer. Since the line is
growing through out the report (header, detail, and
footer), it will be on the entire page (header, detail,
and footer) even though, that sometimes half of the page,
only, has data and the rest is blank. Is there a way to
make the line grow or shrink based on the bottom of the
detail section only not the entire page. I tried to use
the following but it did not work:
Me.Line (0 * 1440, Me.Line1.Top)-(0 * 1440, 4400 +
Me.Detail.Height)
Where 4400 = the distance from Line1 to the bottom of the
page Header .
When I used me.pageheader.height + Me.Detail.Height, I got
Unidentified qualifier on the PageHeader?
Any idea
Thanks
Al