Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Prevent Using Unhide Command...

Posted on 1998-11-23
5
Medium Priority
?
364 Views
Last Modified: 2011-09-20
I just want to know if I can hide my database, so any user can't see my database structures in any condition except admin user, even he can't use unhide command to see my database.
0
Comment
Question by:merci
5 Comments
 
LVL 7

Expert Comment

by:Victor Spiridonov
ID: 1969154
If you want to prevent user from using Unhide option , you need to replace general menubar with your own menu bar, that doesn't contain this option.
0
 
LVL 10

Expert Comment

by:brewdog
ID: 1969155
No only will you have to create your own menu bar (or at least turn off the default menu bar), but you'll also have to:

-- hide the default toolbars, most of which contain a button to display the database window. For some reason, even if your database is hidden, Microsoft lets this button display the db window. (Lame)

-- Probably not let users close forms except using methods you want -- funnel them through a switchboard or something.

It's more work than it should be, but I understand the benefits. I do it in all my apps, too.

Hope this helps.

brewdog
0
 

Author Comment

by:merci
ID: 1969156
I  think  you  dont  understand  me, even if   I hide the default menubar,  the other  user can press F11  to unhide my databse,  so,  there  will  be  no  use of your  answer!!!

I  just  want  to  prevent  the user  to  see  the stercure  of my databse?  I  hope  you  understand  me  now!!



0
 
LVL 10

Expert Comment

by:brewdog
ID: 1969157
You'll still need to take the above steps; I didn't know F11 displayed the database window. (Which makes me wonder: how many users do?)

You could create a sub or function that pops up a msgbox telling the user the database window is off limits, then set the KeyPreview property to yes on all forms and reports -- then use your KeyDown event for the form/report to call the sub if the user has pressed F11.
0
 
LVL 3

Accepted Solution

by:
tcurtin earned 0 total points
ID: 1969158
hi brewdog,
the F11 key circumvents any Startup or Autoexec macros, so your comment wouldn't be seen by the database.
Merci,
The only truly way would be to make an .mde and distribute it to the users. The design environment is stripped away. If that is not an option, you need Jet security to use permissions to edit data. The users will not be able to review the design view of objects.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

971 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