J
John
I have the following code on the On Format property of one of my Headers on
my report:
Private Sub GroupHeader1_Format(Cancel As Integer, FormatCount As Integer)
If ChangePri = True Then
Priority.BackColor = vbGreen
Priority.FontWeight = 800
Else
Priority.BackColor = vbWhite
Priority.FontWeight = 400
If min = True Then
sono.BackColor = vbYellow
sono.FontWeight = 800
Else
sono.BackColor = vbWhite
sono.FontWeight = 400
If missed = True Then
QtyShip.BackColor = vbRed
QtyShip.FontWeight = 800
Else
QtyShip.BackColor = vbWhite
QtyShip.FontWeight = 400
End If
End If
End If
End Sub
The colors are not changing. Is there any other properties that need to be
changed on the report to make this code usable?
my report:
Private Sub GroupHeader1_Format(Cancel As Integer, FormatCount As Integer)
If ChangePri = True Then
Priority.BackColor = vbGreen
Priority.FontWeight = 800
Else
Priority.BackColor = vbWhite
Priority.FontWeight = 400
If min = True Then
sono.BackColor = vbYellow
sono.FontWeight = 800
Else
sono.BackColor = vbWhite
sono.FontWeight = 400
If missed = True Then
QtyShip.BackColor = vbRed
QtyShip.FontWeight = 800
Else
QtyShip.BackColor = vbWhite
QtyShip.FontWeight = 400
End If
End If
End If
End Sub
The colors are not changing. Is there any other properties that need to be
changed on the report to make this code usable?