How do I get the NT Username and insert this into a table.
I have tried using a shell command and "cmd.exe /c ECHO %USERNAME%" but I seem to get a nonsense number instead of the actual name in the table even though in DOS the username is returned!!
Thanks in advance
Graham
I have tried using a shell command and "cmd.exe /c ECHO %USERNAME%" but I seem to get a nonsense number instead of the actual name in the table even though in DOS the username is returned!!
Thanks in advance
Graham