I have followed the below code i found in the net for the vertical lines, this code is for Access 2013
Private Sub detail_Print(Cancel As Integer, Printcount As Integer)
Dim Ctldetail As Control
Dim intLinemargin As Integer
intLinemargin = 0
For Each Ctldetail In Me.Section(acDetail).Controls
With DtlDetail
If Ctldetail.Name = "Line123" Then
Me.Line ((.Left + .Width + .intLinemargin), 0)-(.Left + .Width + intLinemargin, Me.Height)
End If
End With
Next
Set Ctldetail = Nothing
End Sub
I change only the name of the line, can this be used for Access 2010, when I used the same a gap on the line is showing.
Can you help me please.
thank you.
Trident