Calendar Control doesn't function

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
 
F

Ford

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
 
F

Ford

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
 
M

Mark A. Sam

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
 
F

Ford

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. :)
 

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