how to draw a vertical line for sections that can grow

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

some of my reports can grow in some fields. so not all information will be
displayed if i shoose to put borders . so i need a code to sort out this
problem
 
Assuming you have a text box in your section named txtBox, you can add code
to the section's On Format event like:

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.Line (Me.txtBox.Left, 0)-Step(0, 10000)
End Sub

This code will draw a vertical line on the left side of the text box.
 
Back
Top