Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange error on MSComCtl2.DTPicker.2 ActiveX control

Status
Not open for further replies.

JordanCN2

IS-IT--Management
Feb 7, 2011
39
US
I am getting some odd behavior from the DTPicker control (MSComCtl2.DTPicker.2) on one of my Access 2003 forms. I did make a couple of changes to this form to add a frame control, a drop box and a combo box, however I can't see why I am getting the following errors:

The first and only first time I hover over the DTPicker control I get:

"The expression KeyUp you entered as the event property setting produced the following error: There was an error loading an ActiveX control on one of your forms or reports."

This also happens the first an only time for KeyDown, MouseOver, DropDown, CloseUp.

I notice that on this control these events do not appear in the list of events. I only see Update, Enter, Exit, Got Focus, Lost Focus as choices. I do not use any of these in my code either.

I don't think it is the control itself because the old rev of the MDB file that has the same screen without these couple of extra controls does not throw this error.

 
try the debug/compile button on your VBA screen

maybe access will tell what the problem is
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top