This is what I entered, I didnt get any change. WHat am I doing wrong?
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
' first set default backcolor
Me.Section(acDetail).BackColor = RGB(0, 255, 255)
' set backcolor dependent on values in controls
If Me.[Fail P/U?] = True Then
Me.Section(acDetail).BackColor = vbYellow
End If
' set backcolor dependent on values in controls
If Me.[Fail S/U?] = True Then
Me.Section(acDetail).BackColor = vbYellow
End If
' set backcolor dependent on values in controls
If Me.[Fail Run?] = True Then
Me.Section(acDetail).BackColor = vbYellow
End If
' set backcolor dependent on values in controls
If Me.[Scored < 90on P/U?] = True Then
Me.Section(acDetail).BackColor = vbBlue
End If
' set backcolor dependent on values in controls
If Me.[Scored < 90 S/U?] = True Then
Me.Section(acDetail).BackColor = vbBlue
End If
' set backcolor dependent on values in controls
If Me.[Scored < 90 on Run?] = True Then
Me.Section(acDetail).BackColor = vbBlue
End If
' set backcolor dependent on values in controls
If Me.[Permanent Profile] = True Then
Me.Section(acDetail).BackColor = vborange
End If
' set backcolor dependent on values in controls
If Me.[Did Not Take?] = True Then
Me.Section(acDetail).BackColor = vbRed
End If
If Me.[Scored < 90 on Run?] = True And Me.[Scored < 90 S/U?] = True And Me.[Scored < 90on P/U?] = True Then
Me.Section(acDetail).BackColor = vbGreen
End If
End Sub