Results 1 to 2 of 2
  1. #1
    manojsikar1 is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2012
    Posts
    1

    open specific form after login


    Hello....I have set a login form whose command are as followIf Me.qpwd.Value = DLookup("PWD", "AUTHORIZED", "USERID='" & Me.quserid.Value & "'") ThenDoCmd.CloseDoCmd.OpenForm "form1", acNormalElseMsgBox "Invalid Password"end ifI want a help from you all...Say if user logins with "admin", then the form name "form1" opens and if the user logins with "bob" then form name "edit marks" opens....what changes should i do so that user control is there....plz help

  2. #2
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    Perhaps a Table to record User Names, Passwords and the name of the Form you need to open. DLookUp will find the name of the form you need.

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

Similar Threads

  1. Open form on specific record
    By iky123 in forum Forms
    Replies: 1
    Last Post: 04-11-2012, 09:56 AM
  2. Open form to specific record
    By Two Gun in forum Forms
    Replies: 7
    Last Post: 11-09-2011, 10:00 AM
  3. Open form to a specific record from a query
    By chris.williams in forum Forms
    Replies: 11
    Last Post: 10-06-2011, 04:15 PM
  4. Open Form to Specific Record
    By batowl in forum Forms
    Replies: 1
    Last Post: 04-08-2011, 10:10 AM
  5. Open to specific form
    By ecpike in forum Forms
    Replies: 2
    Last Post: 06-12-2009, 08:32 AM

Tags for this Thread

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