Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / December 2005

Tip: Looking for answers? Try searching our database.

Code compiles, mde creation fails

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DFS - 13 Dec 2005 16:43 GMT
The .mde creation just sits there, until I click on the blank screen and I
get a (Not Responding) message in the title bar.

The code compiles fine.  Other systems of a similar large size compile and
.mde create fine, so I think it's not Access but something in this .mdb.

Any ideas?

Thanks
Karen Hill - 13 Dec 2005 19:09 GMT
> The .mde creation just sits there, until I click on the blank screen and I
> get a (Not Responding) message in the title bar.
[quoted text clipped - 5 lines]
>
> Thanks

Yes.  This happened to me also.  The reason it happens is when you code
in VBA in access and have Events assigned to controls that don't exist,
or forms that you renamed.  Cleaning up your vba code will allow you to
compile into an mde.

For example, In my case, I started out with a button named "button_34"
Which I added an Event "On Click".  I then renamed button_34 to
something more meaningful, and added the new "On Click" method.  Yet
the old button_34 code was left in the vba source, and hence I could
not create an mde.  When I removed the unsused button_34 code, mde
creation worked.
DFS - 14 Dec 2005 03:29 GMT
>> The .mde creation just sits there, until I click on the blank screen
>> and I get a (Not Responding) message in the title bar.
[quoted text clipped - 18 lines]
> hence I could not create an mde.  When I removed the unsused
> button_34 code, mde creation worked.

That did it.  I found 4 one-line "orphaned" routines in my main interface.
Deleting them let me create the .mde.

Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.