winjohan
03-24-2003, 11:57 PM
Hello
I have a report were there are multiple txtfields of different records in the detail section, and one label
what i want is that depending on the content of a textfield that the label is made invisible for that record the code i use is:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If IsNull(Me.Opmerkingen) Then
Me.lblopmerking.Visible = False
End If
End Sub
But this will make the lblopmerkingen visible or invisible for all the records
Does anyone has an idea ?
Greeting Johan
I have a report were there are multiple txtfields of different records in the detail section, and one label
what i want is that depending on the content of a textfield that the label is made invisible for that record the code i use is:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If IsNull(Me.Opmerkingen) Then
Me.lblopmerking.Visible = False
End If
End Sub
But this will make the lblopmerkingen visible or invisible for all the records
Does anyone has an idea ?
Greeting Johan