実行したAccessレポート
Option Compare Database
Option Explicit
Private amiflag As Boolean
Private Sub ページヘッダーセクション_Print(Cancel As Integer, PrintCount As Integer)
amiflag = False
End Sub
Private Sub 詳細_Print(Cancel As Integer, PrintCount As Integer)
If amiflag Then
Me.詳細.BackColor = 14803425
Else
Me.詳細.BackColor = QBColor(15)
End If
amiflag = Not amiflag
End Sub