I have a label inside an attachment box on a form that tells the person using the form how to attach a file. I want that label to disappear if an attachment is added. I entered this code in the form current event and it makes the label disappear even if there is an attachment. Is it in the wrong event?
If IsNull(Attachment) Then
Label101.Visible = True
ElseIf Not IsNull(Attachment) Then
Label101.Visible = False
End If
Thanks for your help!
If IsNull(Attachment) Then
Label101.Visible = True
ElseIf Not IsNull(Attachment) Then
Label101.Visible = False
End If
Thanks for your help!