M
magick
i am trying to hide the label in a header when the field is blank, and based
on other discussions used the following code, but it is not working.
Private Sub GroupHeader1_Print(Cancel As Integer, PrintCount As Integer)
Me.lblSubclass.Visible = Not IsNull(Me.SUBCLASS_CODE)
End Sub
i believe the field is not null, but just blank, so tried the following code
(didn't work either)
Private Sub GroupHeader1_Print(Cancel As Integer, PrintCount As Integer)
If Me.SUBCLASS_CODE = "" Then
Me.lblSubclass.Visible = False
End If
End Sub
what dumb mistake am i making? thx
on other discussions used the following code, but it is not working.
Private Sub GroupHeader1_Print(Cancel As Integer, PrintCount As Integer)
Me.lblSubclass.Visible = Not IsNull(Me.SUBCLASS_CODE)
End Sub
i believe the field is not null, but just blank, so tried the following code
(didn't work either)
Private Sub GroupHeader1_Print(Cancel As Integer, PrintCount As Integer)
If Me.SUBCLASS_CODE = "" Then
Me.lblSubclass.Visible = False
End If
End Sub
what dumb mistake am i making? thx