I have looked everywhere and cannot find anything on how to change the background color of every OTHER line in the detail seciton of a report (light gray then white) - I believe it is rather simple - but to complicated fo me -
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
lngPrint = lngPrint + 1
If lngPrint Mod 2 = 0 Then
Me.Detail.BackColor = 15066597
Else
Me.Detail.BackColor = 16777215
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.