View Full Version : How can I make calendar open with today's date in form


Windsurfer
03-05-2001, 04:20 PM
Can someone please help me, I have a calendat on sa form and need it to open on today's date when form opens.
Thanks for your help,
Emilio

pdx_man
03-05-2001, 05:02 PM
Go to the properies of the form. Look for (click on) the On Open event. click on the elipses (...) to the right of that line. Select Code Builder:

Private Sub Form_Load()

Me.BegCal.Value = date()

End Sub

Windsurfer
03-05-2001, 05:39 PM
Thank you pdx_man, it works great!

Emilio