G
Gary
Hello,
I am posting this message in hopes someone can help me. I am using the
Microsoft Calendar Control in an Access 2000 database (Version 9). I
noticed the calendar's AfterUpdate event is not firing as expected.
The strange thing is if I start a new form and insert a calendar
control onto this new form and add code to the AfterUpdate event, it
works perfectly. So, I am not sure why the AfterUpdate event doesn't
work on my original form. I then thought that my database might be
corrupted so I repaired and compacted it, but that didn't work.
One other thing. The original database was an Access 97 database that
was converted into an Access 2000 database saved under a new name.
When this was done, an error occurred related to this calendar control
since the version of the control is different between Access 97 and
Access 2000. So, I then deleted and reinserted the calendar control
again (renaming it to match my original calendar control name) and
made sure its corresponding AfterUpdate event was still in the code
window and it was. I also put a dummy message box at the start of the
AfterUpdate event, but again the message did not appear which meant
the AfterUpdate event did not fire. Not sure why.
Does anyone know what is happening or have a solution? Any help is
most appreciated.
I am guessing I may have to recreate the form, which by the way has a
lot of embedded controls on a tab control. I was just trying to avoid
this if I didn't have to. Thanks in advance.
I am posting this message in hopes someone can help me. I am using the
Microsoft Calendar Control in an Access 2000 database (Version 9). I
noticed the calendar's AfterUpdate event is not firing as expected.
The strange thing is if I start a new form and insert a calendar
control onto this new form and add code to the AfterUpdate event, it
works perfectly. So, I am not sure why the AfterUpdate event doesn't
work on my original form. I then thought that my database might be
corrupted so I repaired and compacted it, but that didn't work.
One other thing. The original database was an Access 97 database that
was converted into an Access 2000 database saved under a new name.
When this was done, an error occurred related to this calendar control
since the version of the control is different between Access 97 and
Access 2000. So, I then deleted and reinserted the calendar control
again (renaming it to match my original calendar control name) and
made sure its corresponding AfterUpdate event was still in the code
window and it was. I also put a dummy message box at the start of the
AfterUpdate event, but again the message did not appear which meant
the AfterUpdate event did not fire. Not sure why.
Does anyone know what is happening or have a solution? Any help is
most appreciated.
I am guessing I may have to recreate the form, which by the way has a
lot of embedded controls on a tab control. I was just trying to avoid
this if I didn't have to. Thanks in advance.