How to hide all tables.

Posted on 1998-03-03
Last Modified: 2010-08-05
How do i hide the tables?
I want to have update, delete, and insert permission from the form level. But i dont want any users to view or modify any tables. How do i do that in Access97.
How do i make distributed database so users can only view Forms.
Question by:bcp5190
  • 5
  • 2
  • 2
  • +3

Expert Comment

ID: 1969830
A simple solution is to right click each table, choose properties, and then choose "hidden".  This works fine for standard users, but expert ones will figure out how to set their options to show hidden tables.

Author Comment

ID: 1969831
Yaaa, Even i can figure out how to unhide.

Expert Comment

ID: 1969832
A 5 point question deserves a 5 point answer.

Author Comment

ID: 1969833
I'm sorry, i don't mean to dicipoint you

Expert Comment

ID: 1969834
One idea,
  splitt the database into two:
      1. one with the forms, reports, querys, macros and modules
      2. one with only the tables.

 by code you can create querys, and modify the records,...
 the forms don't have recordsource, you put the recordsource on-line.

 So you don't have to link the tables, only work a low level (by VBA).
PS. If you have problems with the points, please contact with the service customers, and they to tell you how to buy points.

I hope this help you.


Expert Comment

ID: 1969835
Use name of tables:
   USYStable_name,  where USYS (User System) - in all tables.
   This works fine for standard
      users, but expert ones will figure out how to set their options to show hidden tables.  

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.


Author Comment

ID: 1969836
Thank you arimsoft's
Would you please more specific with your answer

Expert Comment

ID: 1969837
you can do what you want with user level security

Expert Comment

ID: 1969838
The best way to prevent users from getting at your tables is to take away all permissions.  

1) Remove permissions for Users Group and Admin User.  
2) Create queries and set the queries "Run Permission" property to OWNERS.
3) Point the Form's Recordsource property to the Query.

Now users will not be able to get at the tables, but when they open the form, it will run the query.  Since the query is designed to "borrow" you permissions, the query will be able to open the table.  

Author Comment

ID: 1969839
If i remove the permission  from group then no one can up date the tabel from form . There for i have give permission to group so member's of group can up date , insert or delete the table through from.

Accepted Solution

Skor earned 0 total points
ID: 1969840
You missed the point of my answer.  Look up the online help on Run Permissions.

Try this so you can see how it all works.

1) Create a table and a form.
2) Take away all permissions for your Users on the table.
3) Go to the Form's RecordSource Property and click the Build Button "..."  This will create a Query for your form.
4) In the query, include the fields you want to display and......
5) Set the Query's Run Permissions to OWNER.

Now when the users try to open the table directly, they will get No Permissions error, BUT, they can open the Form and have FULL access to the data.  In effect, they are borrowing your permissions via the query to get at the table.

Try it, you'll like it.


Author Comment

ID: 1969841
Thank You skor, I got your point

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

705 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

18 Experts available now in Live!

Get 1:1 Help Now