Hello All,
I have a Login Form that check to see what User Type the person logged in has and opens another form and closes the Log in Form. What I want to do is based on that users User Type I want to show or hide subforms that are on the form that opens.
Here is a section of the code I am using.
If rs!UserType = 7 Then 'Checks to what user Priviledges User Has, opens frmMain
CurrentDb.Properties("AllowBypassKey") = False
DoCmd.Close acForm, "frmMain"
DoCmd.Close acForm, "frmLoginScreen"
I also want to be able to position the height of the subform based on the Used type
Can someone let me know how to add code to do this?
Thanks
Dave