Print Vertical Line

V

Vensia

Dear all,

My report has layout like this :
- Report Header
- Page Header
- InvoiceNo Header
- Detail
- InvoiceNo Footer
- Page Footer
- Report Footer

The user can use A4 or letter or half letter size to print the report.
I want to print vertical line using Line method from the top of InvoiceNo
section (or bottom of Page Header) until .Top of Page Footer. The report
height can be vary, depends on the paper size and bottom margin.
How to write the code ?
Thanks in advance.

Vensia
 
M

Marshall Barton

Vensia said:
My report has layout like this :
- Report Header
- Page Header
- InvoiceNo Header
- Detail
- InvoiceNo Footer
- Page Footer
- Report Footer

The user can use A4 or letter or half letter size to print the report.
I want to print vertical line using Line method from the top of InvoiceNo
section (or bottom of Page Header) until .Top of Page Footer. The report
height can be vary, depends on the paper size and bottom margin.
How to write the code ?


I don't have all those paper size options, but I think this
will work:

Me.Line (3000, Me.Section(3).Height)-(3000, _
Me.ScaleHeight - Me.Section(4).Height), vbBlue
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top