Calendar Object on form

  • Thread starter Thread starter DavidG
  • Start date Start date
D

DavidG

Hi,

I'm using Microsoft Calendar Control 11 on a form.
The calendar control is bound to "ChaseDate".

If there's no "ChaseDate" set,
how do I get the calendar to show todays date when the form opens,
without setting the ChaseDate value?

I've tried
On Load
Me.ChaseDateCalendar.Object.Value = Date

but this sets "chasedate"

TIA
DavidG
 
you can't bind a control to a field and then set the value to something else

you'll have to 'unbind' it
put the date in
rebind it whenever it needs to be bound
 
Thanks Jethro,

but I suspect there's a way to do it using the
ValueIsNull property.
If this ValueIsNull property.is set to false,
the HELP says the calendar is supposed to
show the current date until the user selects
a different date.

Any ideas anyone ?
============================================
 

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

Back
Top