I know the symptoms...

Rob007

Registered User.
Local time
Today, 05:14
Joined
Jul 5, 2004
Messages
19
Tried hard to write an appropriate title but I dont know what the problem is sorry.

I have a large database:
Tables: 74
Queries: 253
Forms: 114
Reports: 121
Modules: 10

Database is in use with multiple users and I edit it making small tweaks as required. I have been trying to make a small mod for the last 2 weeks without any success. For example if I just change the version number (a public variable in a module) then create an MDE file the MDE will not open instead come up with the error:
"The expression On Open you entered as the event property setting produced the following error: Object or class does not support the set of events."

Steps taken so far to resolve the issue:
1. Check all references: they seem fine and I can create an MDE if I dont make any changes so their can't be a problem with references. To be sure I removed references, re-registered and added them back in - still no luck
2. Rebuild database in case corrupt: created a new database and linked and imported all objects. Even without any changes this new database could not create an MDE that would run.
3. Try to pin point problem: changed the database to just run (from start-up) a simple form with a single cmd button. Form loaded but clicking on the button produced the same error, even with no code in the OnClick procedure.

Next step: Recreate the database with all the tables and queries and then add one object at a time. That could be a very lengthy process. If anyone has any better ideas I would love to hear from you.

Thanks,

Rob
 
Have you compiled the project? In a code window I think it's Debug->Compile on the main menu. If you have an error it should now be highlighted. That error will have to be resolved before you can create an mde.
 
Hi lagbolt,
Yes I have compiled the project. I have also decompiled and re-compiled, no issues in the code.
Ta,
Rob
 

Users who are viewing this thread

Back
Top Bottom