J
Junior
I am attempting to use user login name to set determine permissions to
various parts of a DB.
The log in name may be either 11 or 12 characters formated XXXYYYusername
I want to strip off the first 6 characters XXXYYY
and set strUserID as the last 5 or 6 characters.
How can i change the following code to accomplish this?
strUser = GetLoginName()
strUserID = Right(strUser, 5)
various parts of a DB.
The log in name may be either 11 or 12 characters formated XXXYYYusername
I want to strip off the first 6 characters XXXYYY
and set strUserID as the last 5 or 6 characters.
How can i change the following code to accomplish this?
strUser = GetLoginName()
strUserID = Right(strUser, 5)