Consulting

Results 1 to 6 of 6

Thread: Process or vba code for Permanently hide table form normal user?

  1. #1
    VBAX Regular
    Joined
    Jun 2010
    Posts
    58
    Location

    Process or vba code for Permanently hide table form normal user?

    Hi All,
    I am using Access2003 to create this application. The application is a
    standalone application, one file.My goal is if I am the one who open this file, I will see everything in Access and of course able to momdify them. If others open this file, they would not be able to see anything except the main form.
    I am thinking that if the user put in the username/password as admin/admin, he will get full access, if the user put in the username/passeword as user/user, he will see only form and has NO access to tables.It will be a great help if any one can help me to solve this problem.

    Thanks...

  2. #2
    VBAX Guru
    Joined
    Mar 2005
    Posts
    3,297
    Location
    Bunty, hello, you get around the forums.
    In actual fact you do not need much VBA to do what you want.
    The Access User Level Security Wizard will create the Secure database & user Accounts for you.
    You can then use some simple VBA to open the required form based on who opens the database using the CurrentUser function.

  3. #3
    VBAX Regular
    Joined
    Jun 2010
    Posts
    58
    Location
    Thanks OBP, Can you please tell me how to create Access User Level Security Wizard.

    thanks

  4. #4
    VBAX Guru
    Joined
    Mar 2005
    Posts
    3,297
    Location
    Main Menu>Tools>Security>User-Level Security Wizard
    Take a backup copy before running the Wizard, although it also takes a backup as well.

  5. #5
    VBAX Expert Imdabaum's Avatar
    Joined
    Jun 2006
    Posts
    652
    Location
    It is recommended that you backup your database before you do this. Also write down the information you enter and keep it someplace secure unless you can guarantee that you'll remember it.
    Someday I'll understand everything...
    Even then...I'll still pretend I'm a beginner.

  6. #6
    Before you attempt to add ULS to your database I would urge you to read this first:

    How I use Microsoft Access User-Level Security written by Jack MacDonald.

    I would still recommend that you still consider Splitting your Access database into application and data. This is critical for all multiple user apps.

    Hope this helps ...
    Last edited by HiTechCoach; 07-12-2010 at 09:46 PM.
    Boyd Trimmell aka HiTechCoach
    Microsoft Access MVP -2010-2015

    Programming: Nine different ways to do it right, a thousand ways to do it wrong.
    Binary--it's as easy as 1-10-11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •