You might want to consider using the Line method of the report. For instance
the following code will draw a rectangle around the detail section. This
code will not account for growth of the detail section based on Can Grow =
Yes.
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Me.Line (0, 0)-Step(Me.Width, Me.Detail.Height), , B
End Sub