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.
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.


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.  


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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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 …

816 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

8 Experts available now in Live!

Get 1:1 Help Now