Hi,
I am using Access 2007. I have a report that has labels that need to be visible only on certain days of the week.
I have tried the following code in the reports load event, but it doesn't work. Does anybody have any ideas?
thanks,
Jeff
I am using Access 2007. I have a report that has labels that need to be visible only on certain days of the week.
I have tried the following code in the reports load event, but it doesn't work. Does anybody have any ideas?
Code:
Private Sub Report_Load() Dim vDay As VbDayOfWeek If vDay = vbMonday Then Me.Label0.Visible = True Else Me.Label0.Visible = False End If End Sub
Jeff
Comment