Opening a form shouldn't have that effect. There must be something in the code within the form that is causing the error.
I don't know enough about
to be able to speak about it. However, you are only
referencing the OLE DB module. Not certain how that would affect anything.
At least you mentioning that the error occurs when you open the form ... that narrows it down a little.
If you use OPTION EXPLICIT at the top of all of your macros, that will help to point out any errors in your code.
If you also have ON ERROR RESUME NEXT in your macros ... comment that line out so your project won't bypass any errors.
If you are familiar with stepping through your code, do that as well. Oftentimes after disabling ON ERROR RESUME NEXT and stepping through your code
will help to pin down the offending line in the code. In case you don't understand "stepping through your code" ...
If you are aware of stepping through the code .. I apologize for preaching to the choir. 
Providing some error messages will help with this effort.
Any one else want to join in the conversation to help ?
Bookmarks