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()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top