If you want to draw a line down the page, regardless of how many detail
records there are, use the Line method in the Page event procedure of the
report.
This example prints a red line down the left of the report:
1. Open the report in design view.
2. Open the Properties box.
Ensuring you are looking at the properties of the Report (not of a text
box), click the Events tab.
3. Set the report's On Page property to:
[Event Procedure]
4. Click the Build button (...) beside this.
Access opens the code window.
5. Set up the event procedure like this:
Private Sub Report_Page()
Me.Line (Me.ScaleTop, Me.ScaleLeft)-(Me.ScaleTop, Me.ScaleHeight), vbRed
End Sub