Label for attachment

wrweaver

Registered User.
Local time
Today, 01:30
Joined
Feb 26, 2013
Messages
75
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!
 

Users who are viewing this thread

Back
Top Bottom