Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to prevent users from looking into the database?

Status
Not open for further replies.

Niebotel

Programmer
Jan 1, 2007
169
NL
I have created a access 2007 application (frontend and backend). I distribute the accde with runtime. But I want users to prevent that they look into the database using full access. With current database options I can hide things, but users can set it back. What is the solution?
Encrypting does not work I think, because I have to give the users the password I suppose.
 
How are ya Niebotel . . .

You can hide/show the DB window.

To hide:
Code:
[blue]   Docmd.SelectObject acTable, , True
   Docmd.RunCommand acCmdWindowHide[/blue]
To show:
Code:
[blue]   Docmd.SelectObject acTable, , True[/blue]


Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
I'm fine thanks!
I finally completed my application (I think 50 hours of programming and testing)

Before distributing it (planning 1 january) I want to solve this issue.

I tried your suggestion but nothing happens.
I have putted the coding behind my opening screen on the on open event. The only thing I see that the screen is not maximised anymore, but, the DB windwow and the office button are still available.

Still hoping to find a solution fot this last issue before implementation.

Greeting Willem
 
I now succeeded to hide the DB window, but it is still possible to reset things by using the Office button. In the backend the office button has only two itens (Close and develop) but in the frontend all the options are availeble. How I managed that I do not know, but I would like to have that also for the frontend.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top