gridlines

maxmangion

AWF VIP
Local time
Today, 13:20
Joined
Feb 26, 2003
Messages
2,805
is it possible to make gridlines in a report ?

Thanks
 
It depends on where you want to make them. You can simply use the line drawing tool bit if you are trying to box items in, this may not work for you.
 
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Dim CtlDetail As Control
Dim intLineMargin As Integer


intLineMargin = 60


For Each CtlDetail In Me.Section(acDetail).Controls
With CtlDetail

Me.Line ((.left + .Width + intLineMargin), 0)-(.left + .Width + _
intLineMargin, Me.Height)

End With
Next
With Me
Me.Line (0, 0)-Step(.Width, .Height), 0, B
End With

Set CtlDetail = Nothing

End Sub
 

Users who are viewing this thread

Back
Top Bottom