PDA

View Full Version : Security Settings



spaz9876
01-17-2008, 10:25 AM
I created specific users for my database with each user having their own switchboard. How can I make it so that their switchboard comes up when they log in?

DarkSprout
01-18-2008, 03:08 AM
Select Case userID
Case 1
DoCmd.OpenForm "frm_User1Switchboard"
Case 2
DoCmd.OpenForm "frm_User2Switchboard"
Case 3
' etc...
End Select

or

'// Using "frm_User2Switchboard" format
DoCmd.OpenForm "frm_User" & userID & "Switchboard"

DarkSprout
01-18-2008, 03:08 AM
...