Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
'Michael Red. 2/13/2002. To 'Toggle the backolor, which
'Provides alternate line shading
Const XorToggle = 4144959
Me.Detail.BackColor = Me.Detail.BackColor Xor XorToggle
End Sub
If Me.Gap_Status = "Open" Then
Me.Detail.BackColor = 12632256
Else: Me.Detail.BackColor = vbWhite
End If
Option Compare Database
Option Explicit
Private lngRowCount As Long
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
lngRowCount = lngRowCount + 1
If lngRowCount / 2 = CLng(lngRowCount / 2) Then
Me.Detail.BackColor = 65535 ' <--- change this color
Else
Me.Detail.BackColor = 16777215 ' white
End If
End Sub
? vbwhite
16777215
? vbyellow
65535
? vbWhite Xor vbYellow
16711680
? 16777215 xor 16711680
65535
? 65535 xor 16711680
16777215