Help to restore calendar function after updating to XP

  • Thread starter Thread starter F. Cranburn
  • Start date Start date
F

F. Cranburn

Hello,

For many years, I used a small business program written in Access 97 that
has a calendar next to every date field, allowing to select the date from
it.
When I recently updated from MS Windows98 to MS Window XP Home, the program
works as before except that when I click on the calendar I get a bang box
with:
-------------------------------
Run-time error '2501'
The OpenForm action was cancelled.
------------------------------

What do I have to do or up-date to get my calendar function working with MS
Window XP?

Thanking you in advance for any help and guidance,

Frank
 
You probably need to add the reference.
Open a Module in your db. Create a new one if there are none.
Select Tools then References.
Find the Microsoft Calendar Control and check it.
If you don't see the calendar control, select browse, change the Files of
type: to ActiveX Controls *.ocx (you should be in System32.)
Find MSCAL.OCX, select it and select OK.
Select OK.
 
Back
Top