supressing label display (1 Viewer)

rabatwork

New member
Local time
Today, 00:47
Joined
Sep 18, 2000
Messages
8
When a data field is null, I can make the field invisible by using the "can shrink" attribute. Is there a way to make the field's label also disappear when the data field is null?
 

Talismanic

Registered User.
Local time
Today, 00:47
Joined
May 25, 2000
Messages
377
EDIT I didnt realize this question was for a report and not a form until after I posted so this will not apply, sorry!


This will do it (Code between the bold text):

Private Sub txtYourTextbox_Exit(Cancel As Integer)

If IsNull(Me.txtYourTextbox) Then
lblYourLabel.Visible = False
End If

End Sub

[This message has been edited by Talismanic (edited 01-12-2001).]
 

Users who are viewing this thread

Top Bottom