J
Jeff via AccessMonster.com
I use suser_sname() to return the name of the user that created the record.
The problem is it returns domain\userid and I just want userid. I thought
of using a substring to get around how the name appears in my forms but I
have old record in the database that are just userid without the domain.
Any suggestions? Should I just go with user_name()? I don’t like the fact
that user_name() returns dbo as the username if you’re the dbo, for example.
The problem is it returns domain\userid and I just want userid. I thought
of using a substring to get around how the name appears in my forms but I
have old record in the database that are just userid without the domain.
Any suggestions? Should I just go with user_name()? I don’t like the fact
that user_name() returns dbo as the username if you’re the dbo, for example.