473,804 Members | 3,607 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

When to use .MDE's


I am building an application using Access 2002.
It will consist of two .mdb's, one for the data tables only and the
other will be for the forms, queries, reports, macros, & modules only.

I know the .mde won't let users get to the external modules section of
the container, which provides security. Can they get to the code behind
the forms in an .mde?

Should both of them be .mde files?
What would be the performance advantage of users running one or both as
.mde's as opposed to them both being .mdb's

Thanks for the help.
*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #1
1 2052
Ron Nolan wrote:
I am building an application using Access 2002.
It will consist of two .mdb's, one for the data tables only and the
other will be for the forms, queries, reports, macros, & modules only.

I know the .mde won't let users get to the external modules section of
the container, which provides security. Can they get to the code
behind the forms in an .mde?
No.
Should both of them be .mde files?
Making the back end an MDE only accomplishes one thing which is that a user
would no longer be able to create a new code-based object (form, report,
module) in that file. It does nothing to protect your tables or data so
most don't bother.
What would be the performance advantage of users running one or both
as mde's as opposed to them both being .mdb's


The performance advantage of and MDE is that you know that no portions of
the code can ever get uncompiled (which makes them run slower the first time
they run). If you always made sure that the MDB were fully compiled before
distribution then this should be a non-issue, but MDB can go from fully
compiled to NOT being fully compiled during use which is impossible in an
MDE.

A tid-bit advantage to an MDE is that runtime errors will cause all public
variables to be reset in an MDB, but not in an MDE. Whether that is
important or not would depend on how much you utilize public varaibles and
how much of an issue it would be to have them reset.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
4274
by: RWC | last post by:
Hello, I'm having a problem that I'm having a lot of trouble with. I'm running Access XP, with all the updates, including service pack 2. I'm on a Windows XP machine. I have a database which I'm trying to make into an MDE, and for every module I have, I get a Microsoft Visual Basic error "Unexpected Error" (40230). I've tried decompiling, but that doesn't seem to work. Any ideas would be greatly appreciated. If you are replying to...
4
3920
by: Tony | last post by:
G'day My attempt to create an MDE file was unsuccessful. The attempt produced an error that effectively said the (MDB) file was to big. The MDB consists of about 30 tables, 50 forms and 3 Modules. Have others encountered this problem and if so, have the found a work around? Tony
0
323
by: Peter via AccessMonster.com | last post by:
I need solution to prove and determine that Access MDE application file (in use) is IDENTICAL with archetype MDE file, which is tested and certified with some very restricted functionality and formal procedure that is in accordance with fiscal law? I ask that because of known MS Access ?bloat? characteristics. Actually, even after execution of compact/repair MDE file, there is a difference in output hash string value (MD5, SHA-1,...
2
1478
by: Javier Gomez | last post by:
Under Access 2003 Developer Extensions there is an aplication which is named Custom StartUp Wizard, with the posibility to make an MDB file without any access to the internal code, design etc...... also it is Not possible to import from other MDB it looks like same as a normal MDE, but I'm not quite sure. Question: Is this MDB file special or is identically as an normal MDE ??
1
4772
by: deko | last post by:
I'm trying to set startup properties with code after I make an MDB into an MDE. I have this code in the startup form's Form_Open event: If IsItMde Then For Each var In Array("Perform Name AutoCorrect", _ "Track Name AutoCorrect Info", "StartUpShowDBWindow", _ "StartUpShowStatusBar", "AllowFullMenus", "AllowBuiltInToolbars", _
12
1738
by: Jozef | last post by:
Here's a strange one. I made a modification to a database recently, and wound up getting an error message when trying to make an mde file. I'm using Access XP/2002, and the error message I got was "Microsoft Access was unable to create an mde database". After researching the error and the solutions, I've run the gamut of solutions (or comply with the requirements) when I came across the "maximum table ids" issue which can cause this...
44
2486
by: Jeff | last post by:
Hi I have a library mde that is used with some customer databases and I found out that another developer discovered it while doing some maintenance work on an old database for the same customer and has copied it to use with her databases. Naturally, I was not impressed and that story continues. It was not the customers fault. I assume she took a copy of the original code from the customers database and is working out how to use the...
2
3272
by: insomniux | last post by:
Hi, I need to check if a database is an .mde version (end user gets other menus's). In previous access versions the CurrentDB.properties("MDE") property seemed to work, but I clould not find this property in Access 2000. Is it possible to check if the databse is .mde in 2000 other than extracting the .mde part from the name (is risky AFAIC). Thanks,
8
2229
by: John Google | last post by:
Hi, I've been asked to amend an Access 2002 DB that has been used by users using the MDE version. I have, what seems to be the original MDB version containing all the front end stuff but, by now, the tables are way out of date. They want me to make some changes to the database and keep their current data..
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10326
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10317
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10075
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9143
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7615
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4295
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.