Having some difficulty with this syntax. Could someone help me clean this up.
I need to allow users to open a form if there user role is one of two roles.
My code runs but it doesn't recognize the criteria correctly .
Here is what I have written as of now...
If (DLookup("strUserRole", "tblUserLogin", "[strUserID]='" & Forms![_frmLoginVerify]!txtLoginName.Value & "'")) = " 'Consultant' & Or & 'PSR_A' " Then
Thanks in advance for your help.