Solved

protect Access 2007 database

Posted on 2010-09-03
3
436 Views
Last Modified: 2012-05-10
I have created an Access 2007 database with forms. I want the user to be able to only see the forms and reports that I have created but not the database editing tools, tables, queries, etc... I tried renaming my db to databasename.accdr. This works until I want to close the database. I have a "close application" button with code on the click event that says docmd.quit but it doesn't work with the accdr extension. Does anyone know why this does not work and can suggest another way? The rest of the application seems to work fine.

Thanks
0
Comment
Question by:LeLeBrown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 65

Accepted Solution

by:
rockiroads earned 500 total points
ID: 33600476
If u go into Access Options (top left icon), click on Current Database and look at the Navigation Options and pane as well as Ribbon options.
In Application Options you should set a title and specify start form
You want to basically disable database view, special keys and ability to edit menus
You can compile it down to hide the source code
There is vba which allows you to bypass that, code samples available here just look for shift bypass
0
 
LVL 44

Expert Comment

by:GRayL
ID: 33600514
I believe this a case where you want to provide your users with a Front End, linked to a Back End which you control using the Database Splitter.  - Click Help and enter - Split a database.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 33601247
<I have created an Access 2007 database with forms.>
OK, but is the database in the Access 2007(.accdb) format or the 2003(.mdb) format.
You never made this clear...

< I tried renaming my db to databasename.accdr. >
Please do not rename files on the thought this will magically "Change" the file type.
If the file is not a true .accdr file, then simply changing the extension will not make it so.
Please change the file name back to what it was originally.

Then following the advice form the experts above should help you get what you are after.

;-)

JeffCoachman


0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question