I declare User Level as Integer in Code.
Then control jump to admin form by if statement.
If UserLevel = 1 Then
'MsgBox " Login as Member"
DoCmd.OpenForm "MyTask"
Else
'MsgBox " Login as Admin"
DoCmd.OpenForm "Admin"
End If
0 件のコメント:
コメントを投稿