bartmanekul
New member
- Local time
- Today, 00:44
- Joined
- Oct 8, 2020
- Messages
- 21
Hi all,
I've been using: GetUserName() in the criteria of a query, with a report based off of it.
In the field it's a criteria for, it's only populated by system usernames, i.e. firstname.secondname
It works fine on my computer, only showing the records which has my name in. But on other people's, it seems to be using my name too - even though they are logged in under their name.
Is this code wrong?
I've been using: GetUserName() in the criteria of a query, with a report based off of it.
In the field it's a criteria for, it's only populated by system usernames, i.e. firstname.secondname
It works fine on my computer, only showing the records which has my name in. But on other people's, it seems to be using my name too - even though they are logged in under their name.
Is this code wrong?