gsgriffin
Technical User
- Oct 17, 2002
- 27
Its been a couple years since I put an Access database together, and am working on a very simple one right now. This is super easy, but something is stopping the calendar from working at all. With a textbox of StartDate and Calendar control of Calendar1, this is the simple code:
Private Sub StartDate_Enter()
Calendar1.SetFocus
End Sub
Private Sub Calendar1_Click()
StartDate.Value = Calendar1.Value
End Sub
What am I missing to simply allow the calendar to put the date when clicked? I'm able to change the month and year, but clicking on the calendar does nothing. Doesn't even higlight the day I'm clicking on.
Private Sub StartDate_Enter()
Calendar1.SetFocus
End Sub
Private Sub Calendar1_Click()
StartDate.Value = Calendar1.Value
End Sub
What am I missing to simply allow the calendar to put the date when clicked? I'm able to change the month and year, but clicking on the calendar does nothing. Doesn't even higlight the day I'm clicking on.