Calendar control - default the date to Today.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I found in the MS access reference help files that I can use the Today method
to set the value of the calendar control to today's date.

The syntax would be: Beginningdate1.Today

Can anyone tell me where I need to put this?
 
I have a calendar on a form called calendar_date and I use the following
code to set the default date of the calendar to the current date using this
code in the LOAD event of the form

Private Sub Form_Load()

DoCmd.Maximize ' maximise the screen
calendar_date = Date

End Sub
 
Back
Top