I have a report with a text box named Discount. If this text box
shows a value of 0, I do not want the text box to be visible.
I have tried the following code, but it disables the control even when
the value is greater than zero. My IF statement seems to always be
true. Also, I can't find a value property for the text box.
I have searched and can't find the answer via Google.
Thanks.
Private Sub GroupFooter3_Format(Cancel As Integer, FormatCount As
Integer)
If Me.Discount = 0 Then
Discount.Visible = False
End If
End Sub