Article ID: 155329
Article Last Modified on 1/19/2007
Private Sub GroupHeader0_Format(Cancel As Integer, _
FormatCount As Integer)
SalesPct = .1
End Sub
Sub GroupHeader3_Format (Cancel As Integer, FormatCount As Integer)
SalesPct = .1
End Sub
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me![Pcnt] >= SalesPct Then
Me![RedLine].Visible = True
Select Case SalesPct
Case .1
SalesPct = .4
Case .4
SalesPct = 999
End Select
Else
Me![RedLine].Visible = False
End If
End Sub
Sub Detail1_Format (Cancel As Integer, FormatCount As Integer)
If Me![Pcnt] >= SalesPct Then
Me![RedLine].Visible = True
Select Case SalesPct
Case .1
SalesPct = .4
Case .4
SalesPct = 999
End Select
Else
Me![RedLine].Visible = False
End If
End Sub
Additional query words: condition multiple
Keywords: kbhowto KB155329