Need help on how to control an Object (Calendar) so, on click of a button user will be able to view and when click button again or deselect make it invisible.
If Me!frmLoggedOn.Visible = False Then
Me!frmLoggedOn.Visible = True
Else
Me!frmLoggedOn.Visible = False
End If
End Sub
When the command button is clicked it first checks to see if the object is visable. If not, it makes it visible. If so it leaves it invisable. In my case I am using a subform named frmLogged on but it should work with any object.