G
Guest
Hi there,
I have a 3 columns report which a need to draw a line in between the
columns. I was able to accomplish that with:
Dim C1, C2 as long
Const Gap As Long = 0.05 * 1440
C1 = Report.Width + Gap
C2 = C1 * 2 + Gap
Me.Line (C1, PageHeaderSection.Height)-(C1, 10000), 0
Me.Line (C2, PageHeaderSection.Height)-(C2, 10000), 0
The thing is, different users wave access to different paper sizes so, 10000
as page height does not work well. Is there a property I could use, such as
Report.Page.Height from where I could get the current page Height?
Same goes to Page Width, because printing in 3 columns, the page footer
shrink to the size of a column, instead of staying the size of a page.
Thank You
Mauricio Silva
I have a 3 columns report which a need to draw a line in between the
columns. I was able to accomplish that with:
Dim C1, C2 as long
Const Gap As Long = 0.05 * 1440
C1 = Report.Width + Gap
C2 = C1 * 2 + Gap
Me.Line (C1, PageHeaderSection.Height)-(C1, 10000), 0
Me.Line (C2, PageHeaderSection.Height)-(C2, 10000), 0
The thing is, different users wave access to different paper sizes so, 10000
as page height does not work well. Is there a property I could use, such as
Report.Page.Height from where I could get the current page Height?
Same goes to Page Width, because printing in 3 columns, the page footer
shrink to the size of a column, instead of staying the size of a page.
Thank You
Mauricio Silva