In the OnFormat event in the Detal section of the report i have the following condition:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me!size = 205 Or 180 Then
Me!grossprice.Visible = True
End If
End Sub
However the grossprice is made visible in all cases,even when the size is not 180 or 205.Is there any remedy ?