Hi All
WinXPPro
Access 2002 SP3
I think I am beginning to hallucinate....
I have been building a form for some months now. Just recently I encountered the following error when I attempted to open it:
“The expression On Open you entered as the event property setting produced the following error: A problem occurred while Microsoft Access was communicating with the OLE server or ActiveX Control”
I’ve spent several days on this; including various permutations of the follwing:-
Compact and repair
Compile / decompile / compile
Importing form into new blank database
Exporting form and recreating to/from a text file
Creating new blank database and new blank form then copying controls from old to new.
Setting / re-setting ‘Form has module’ parameter including building of the module, event-by-event.
Setting XPs regional settings to UK.
In desperation, I have deleted the form’s controls one-by-one thinking I might have a corrupt control or invalid name. I now have NO controls at all … still I get the same error.
I have also deleted VB references one-by-one leaving only :-
Visual basic for applications
Microsoft Access 10 object library
Still I get the same error….
Finally, I have deleted all events from my form’s module leaving only:-
Option Compare Database
Private Sub Form_Open(Cancel As Integer)
End Sub
Still I get the same error….
To summarise, there are:
- no controls on my, almost new, form in my. almost new. Db,
- only the above statements in it’s module
- the 2 minimum VB references…
Still I get the error…
Can anyone help diagnose this please?
Thanks
WinXPPro
Access 2002 SP3
I think I am beginning to hallucinate....
I have been building a form for some months now. Just recently I encountered the following error when I attempted to open it:
“The expression On Open you entered as the event property setting produced the following error: A problem occurred while Microsoft Access was communicating with the OLE server or ActiveX Control”
I’ve spent several days on this; including various permutations of the follwing:-
Compact and repair
Compile / decompile / compile
Importing form into new blank database
Exporting form and recreating to/from a text file
Creating new blank database and new blank form then copying controls from old to new.
Setting / re-setting ‘Form has module’ parameter including building of the module, event-by-event.
Setting XPs regional settings to UK.
In desperation, I have deleted the form’s controls one-by-one thinking I might have a corrupt control or invalid name. I now have NO controls at all … still I get the same error.
I have also deleted VB references one-by-one leaving only :-
Visual basic for applications
Microsoft Access 10 object library
Still I get the same error….
Finally, I have deleted all events from my form’s module leaving only:-
Option Compare Database
Private Sub Form_Open(Cancel As Integer)
End Sub
Still I get the same error….
To summarise, there are:
- no controls on my, almost new, form in my. almost new. Db,
- only the above statements in it’s module
- the 2 minimum VB references…
Still I get the error…
Can anyone help diagnose this please?
Thanks