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 / Security / January 2007

Tip: Looking for answers? Try searching our database.

prevent access to VBA and db window

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jesse Aufiero - 24 Jan 2007 18:15 GMT
When I attempt to turn my access 2003 mdb into an mde i am informed by
access that it cannot perform the operation because i have too many objects
(or something like that).  what are my other options to prevent users from
accessing the underlying vba code or the db window?

Thanks!
Joan Wild - 24 Jan 2007 22:43 GMT
Instead of looking for other options, you should fix the problem.  There is
no reason a MDE can't be made.

If you use Debug, Compile it will highlight any errors - fix those.  Once
you are error free, try the MDE again.

Signature

Joan Wild
Microsoft Access MVP

> When I attempt to turn my access 2003 mdb into an mde i am informed by
> access that it cannot perform the operation because i have too many
> objects (or something like that).  what are my other options to prevent
> users from accessing the underlying vba code or the db window?
>
> Thanks!
Jesse Aufiero - 25 Jan 2007 03:18 GMT
This is the exact error that I get when attempt to make the mde...

This error is usually associated with compiling a large database into an MDE
file.  Due to the method used to compile the database, a considerable number
of TableID references are created for each table.  The Microsoft Jet
database engine version 4.0 can only create a maximum of 2048 open TableIDs
at one time.  Exporting a database as an MDE potentially can exceed this
limit if the database has a large number of objects (table, macro, form,
report, etc).

There is no accurate method to estimate the number of TableIDs the Jet
database engine uses during the process of compiling a database as an MDE.
However, each VBA module and each form uses one TableID, as a result, if the
database has 500 forms, and each form's HasModule property is set to Yes, as
many as 1,000 TableIDs are used.

More information about this error message online.

> Instead of looking for other options, you should fix the problem.  There
> is no reason a MDE can't be made.
[quoted text clipped - 8 lines]
>>
>> 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.