You need to check the field that is empty, and then set the label text as a condition of the field value. I think this is what you want to do. So on the form's Detail section On Format event, you might put:
'-----
If IsNull(Me.TextBox) Or Me.TextBox = "" Then
Me.DataLabel.Text = "--"
Else
Me.DataLabel.Text = "Your Value Here"
End If
'-----
Does this work? I know other posters might have a more elegant way to do this, but no one has posted yet.
HTH
mmcdonal
|