Calendar Control doesn't function

  • Thread starter Thread starter Mark A. Sam
  • Start date Start date
M

Mark A. Sam

Hello,

I am using Access 2002 and the v.11 Calander control. The Updated event
doesn't fire when I click on the dates. I haven't used this in a long time
but it seems like there use to be a click event. Did something change and
how do I work this.

Thanks and God Bless,

Mark A. Sam
 
Mark said:
Hello,

I am using Access 2002 and the v.11 Calander control. The Updated event
doesn't fire when I click on the dates. I haven't used this in a long time
but it seems like there use to be a click event. Did something change and
how do I work this.

Thanks and God Bless,

Mark A. Sam
 
Mark,

The properities screen does not show a click action, but you can create
one. Go to the VB code for your form and create the action by selecting
the calendar control name from the drop down at the top and then
selecting the click action from the other drop down.

You'll need to add this code before whatever else you intend to put
there in order to make it work correctly.

If Me.Dirty = True Then
Me.Dirty = False
End If

Bryon
 
Thanks Byron, that worked, but I guess my quesiton is why isn't the OnClick
property showing on the property sheet and why do you need to set the Dirty
propery to false.

Oh. It's Microsoft, how silly of me. ;)

God Bless,

Mark
 
I read an article that Microsoft put out on how to make the calendar
control more useful. They seemed to admit that it needed some work. :-)
 
Back
Top