robotman757
Programmer
Hello,
I have a large problem and have been racking my noodle trying to figure it out. I have a form in MS Access that has an ActiveX control on it. It has a name and some events. I have some classes that need to talk to this control. I vba code I assign a name as a New ControlX and can then reference the functions and propertis of this type of control. However, I can't set the control on the form to the name in code or the other way around.
Public goof AS goofctl (name and control to vba class code)
goofy_ctl = Name of control on the form
Set goof = Me.goofy_ctl
goof.functionA ....
I error at the Set line and can't talk to the control
Any ideas would be greatly appreciated
I have a large problem and have been racking my noodle trying to figure it out. I have a form in MS Access that has an ActiveX control on it. It has a name and some events. I have some classes that need to talk to this control. I vba code I assign a name as a New ControlX and can then reference the functions and propertis of this type of control. However, I can't set the control on the form to the name in code or the other way around.
Public goof AS goofctl (name and control to vba class code)
goofy_ctl = Name of control on the form
Set goof = Me.goofy_ctl
goof.functionA ....
I error at the Set line and can't talk to the control
Any ideas would be greatly appreciated