Hallo,
I would like to hide the label of a field when the field it is empty.
I'm using this code:
If [ReportName]![FieldName] = "" Then
[ReportName]![LabelName].Visible = False
Else [ReportName]![LabelName].Visible = True
End If
But it doesn't work with "", and it's even worst with isNull. What should I write to refer to field (text field) in which the user didn't write anything?
thanks for helping
I would like to hide the label of a field when the field it is empty.
I'm using this code:
If [ReportName]![FieldName] = "" Then
[ReportName]![LabelName].Visible = False
Else [ReportName]![LabelName].Visible = True
End If
But it doesn't work with "", and it's even worst with isNull. What should I write to refer to field (text field) in which the user didn't write anything?
thanks for helping