Solved

protect Access 2007 database

Posted on 2010-09-03
3
433 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
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

756 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