Results 1 to 4 of 4
  1. #1
    Tom Lovick is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Location
    England, UK
    Posts
    4

    Access problems

    Firstly -



    I need to be able to specify which form needs to be opened when a specific user logs on. So for instance I need to be able to have an administrator, supervisor and standard user to login to their groups main menu.

    Secondly -

    On the main menu I want it to have at the top: 'Welcome Tom Lovick' (or which ever user is logged in)

    Thirdly -

    I want to have the date and time on the main menus to be able to update themselves with no human interaction.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726

  3. #3
    Tom Lovick is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Location
    England, UK
    Posts
    4
    Thanks,

    but I have the tbl_employees setup, and I have got it so I can login via a form to get to one of the main menus, and I can get it to open 2 forms for 2 different users, but not without putting the username and password into the VBA code.

    I want the form to validate the username and password first and then look at the username against the users position and open the correct form based on that.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Interesting, you didn't mention that in your first post.
    Perhaps you should tell us what you want to do; what you have accomplished so far; and what the issue/problem is that you now face.

    So at this point you must be getting the username and password at login.
    You could have an autonumber PK in the table where you store Username and Password, then just use the PK, or set a boolean saying that the user/password combination has been validated. You could relate that to a table of users and positions.

    Use the boolean to determine what form should be opened next.

    Just a few thoughts.

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

Similar Threads

  1. 3 problems in access
    By DORONKI11 in forum Access
    Replies: 4
    Last Post: 08-28-2011, 11:06 PM
  2. Need help with a few access problems for work
    By pitten247 in forum Access
    Replies: 1
    Last Post: 07-12-2010, 05:52 AM
  3. Access library problems
    By kingston9999 in forum Access
    Replies: 1
    Last Post: 06-21-2010, 04:45 PM
  4. Access Table problems
    By Hjava in forum Queries
    Replies: 3
    Last Post: 05-27-2010, 04:35 AM
  5. Replies: 32
    Last Post: 09-16-2009, 10:06 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