Eliasgitau
IS-IT--Management
Hi all! Here's what I'm trying to do and I'm having a hard time figuring it out. I have a login in a database. I would like to capture the login name to a memory variable called wuser. then i use it to filter records in various forms and reports. I was able to filter data using currentuser() function since i have stopped using workgroup security file to use a table and a form. this was the way was filtering.
wuser = CurrentUser()
wuser = UCase(wuser)
If wuser = "RN" Then
DoCmd.OpenForm "JobSystemcreation", , , "projectcoordinator='RN'"
endif
wuser = CurrentUser()
wuser = UCase(wuser)
If wuser = "RN" Then
DoCmd.OpenForm "JobSystemcreation", , , "projectcoordinator='RN'"
endif