How to create a static Border in a report

  • Thread starter Thread starter Steve W
  • Start date Start date
S

Steve W

I'm trying to complete an invoice template in a report - which needs a
border / rectangle that does not ever change in size. ie the depth does not
change with reference to the number of line items printed in the detail
section of the report.

The border would surround the "detail" section of the report output,

Can someone help with the appropriate "OnPrint" event syntax or other
solution

ta
Steve
 
Steve said:
I'm trying to complete an invoice template in a report - which needs a
border / rectangle that does not ever change in size. ie the depth does not
change with reference to the number of line items printed in the detail
section of the report.

The border would surround the "detail" section of the report output,

Can someone help with the appropriate "OnPrint" event syntax or other
solution

The Print event can not place anything outside its section.

Try using the Line method in the Page event. For example:

Me.Line (0, 2 * 1440) - Step(7.5 * 1440, 8 * 1440), , B

will draw a rectangle with the upper-left corner at the left
edge of the page and 2 inches from the top. The lowe- right
corner is 7 1/2 inches from the left edge of the page and 8
inches from the top.
 
Back
Top