DECLARE INTEGER GetComputerName IN kernel32; STRING @ lpBuffer, INTEGER @ nSize DECLARE INTEGER GetUserName IN advapi32; STRING @ lpBuffer, INTEGER @ nSize nSize = 250 lpBuffer = SPACE(nSize) IF GetComputerName (@lpBuffer, @nSize) > 0 lpBuffer = STRTRAN (SUBSTR (lpBuffer, 1, nSize), Chr(0),"") ? "Computer: " + lpBuffer ENDIF nSize = 250 lpBuffer = SPACE(nSize) IF GetUserName (@lpBuffer, @nSize) > 0 lpBuffer = STRTRAN (ALLTRIM(SUBSTR (lpBuffer, 1, nSize)), Chr(0),"") ? "User: " + lpBuffer ENDIF>I have a client who's on W2K server. They want to create an audit trail in a program I wrote for them, which records user name. However, they don't want to have to have a log-in screen in the program I made (the network log-in is sufficient).