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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set the current date as default in a calendar control

Status
Not open for further replies.

natatbh

Programmer
Dec 18, 2002
81
0
0
US
I put a calendar control on a form. Every time I open the form the default date on the calendar is the date that I created the control on. How can I set the calendar, so that the default should always be the current day.

Any helpful advice? I'll appreciate it.

natatbh
 
Hi,

in the load event of the form put:

me.calendar.today

Rgds,

RvM
 
Thanks RvM,

It's simple and it works.

natatbh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top