Results 1 to 4 of 4
  1. #1
    Batselot is offline Novice
    Windows 8 Access 2016
    Join Date
    Aug 2018
    Posts
    14

    Hiding Tables For Users

    Hi there, I have a quick question hoping I get an easy answer for this one.


    I have successfully created a database on request. There is one problem though, I ask the user to enter the data from the forms I have created and I need to get rid of the tables that contain the data( at least for the customer so they don't enter data to the table by accident).How can I hide the tables only for myself to see if i really want to? Thanks a lot

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    in a module, add this function:
    Code:
    Public Function HideDB()
        DoCmd.SelectObject acTable, , True
        DoCmd.RunCommand acCmdWindowHide
    End Function
    


    then in the autoexec macro that opens your startup form
    add this as the 1st item
    runcode HideDb()
    openform fMainMenu

    this will hide the tables.

  3. #3
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,822
    Hi

    You should split the Database and then all that the users have to work with are the Forms , Queries & Reports

  4. #4
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,425
    Access security is a piece meal thing, requiring several things to be done to gain any significant level - which won't achieve 100%. That macro can easily be suppressed, but so can efforts to prevent that. Suggest you read up on the rather large subject and decide what level you need to go to. There are a few articles on the subject here
    and plenty more in many other places.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Multiple users querying linked tables
    By vadnagra in forum Import/Export Data
    Replies: 6
    Last Post: 09-21-2016, 01:31 PM
  2. Replies: 0
    Last Post: 03-09-2015, 06:16 PM
  3. Hiding Tables
    By data808 in forum Access
    Replies: 1
    Last Post: 01-09-2014, 03:21 AM
  4. MultiUser DB ... Some users can't update tables
    By gopherking in forum Programming
    Replies: 1
    Last Post: 08-24-2011, 08:01 AM
  5. Hide tables from general users
    By stryder09 in forum Access
    Replies: 0
    Last Post: 03-28-2011, 11:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums