Dear all,
In my project I have this line of code-
It works fine until someone has an ' in their name...can anyone tell me what to do about this?
Thanks
Aubrey
In my project I have this line of code-
Code:
strRole = Nz(DLookup("[Role]", "tblStaff", "[UserID] ='" & UserName & "'"), "")
It works fine until someone has an ' in their name...can anyone tell me what to do about this?
Thanks
Aubrey