Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

calendar Now() date

Status
Not open for further replies.

ryan1

Programmer
May 15, 2002
106
0
0
US
I'm using the ActiveX Calendar form which works great except one problem, when i open it for the first time in the morning in never has today's date selected it's always the last day i used it.
 
In the codepage behind the ActiveX you need to set:

Private Sub Calendar_GotFocus()
Me!Calendar.Value = Date()
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top