Solved

protect Access 2007 database

Posted on 2010-09-03
3
399 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
3 Comments
 
LVL 65

Accepted Solution

by:
rockiroads earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
<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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
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…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now