Calendar OCX on form opens to wrong date

C

C. Fielding

I have a form that has the calendar OCX in the background
that when highlighted becomes visible. I have set all of
the properties to open to the current date but the
calendar still opens to April 2000 for some reason.

Any suggestions?
 
P

PC Datasheet

Put the following code in the OnLoad event of your form:

Me!NameOfCalendar.Value = Date()
 
Top