I am trying to set up a query were it checks to see if the user is in management. If he/she is then the Criteria field needs to be be blank. If the user is not in Management then it will populate that Users ID so they can only view their records. Unfortunatly based on the below formula it is not pulling any records when the user is apart of management. I have tried Is Not Null, *, & "" but can't seem to figure it out. Any help is greatly appreciated. Thanks,
IIf(DLookUp("[Access_Level]","Auth","[NetID]='" & UserName() & "'")="Management",Is Not Null,"Like "*" & UserName() & "*"")
IIf(DLookUp("[Access_Level]","Auth","[NetID]='" & UserName() & "'")="Management",Is Not Null,"Like "*" & UserName() & "*"")