Current Date for Calendar Control

L

Lynn

I have inserted a Calendar Control 11.0 onto my Access 2003 form & would like
to set its default date value to the current date. The Value property of the
calendar, however, does not seem to accept a formula. Is there any way I can
achieve this?
 
A

Albert D. Kallal

Lynn said:
I have inserted a Calendar Control 11.0 onto my Access 2003 form & would
like
to set its default date value to the current date. The Value property of
the
calendar, however, does not seem to accept a formula. Is there any way I
can
achieve this?

In your forms on-load event go:


me.NameOfCalContorl.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