View Full Version : calendar control default date.....


gino
04-10-2000, 09:41 AM
how do you default today's date on a calendar control?

help would be nice!

thanks

gino
04-13-2000, 03:20 PM
anyone know anything about calandar control?

Danny Clarke
04-14-2000, 05:58 AM
I just found this out today, you lucky so-and-so!

Put this in an event procedure on your form's OnOpen event; or wherever you want really...

Me.[Control Name].Value = Date

Works for me!

cowboys1967
04-23-2000, 01:47 PM
Place your code in the on load event. It will automatically update to the currne tdate value. placing the code in the on open event does not automatically update the calendar control. I found that out the hard way in aa application I bulot and distributed to my office.

gino
04-24-2000, 08:14 AM
yes....this does work on load rather than on open.. thanks