Jan 1, 2003 #1 kitnba MIS Jul 31, 2000 132 HK how can I get the windows login name ? in the Foxpro 3 or 6.0 ? Thanks
Jan 1, 2003 #2 TSWA IS-IT--Management Sep 27, 2001 66 PA Hello Kitnba, I always use this formula: gc_usuario=UPPER(ALLTRIM(RIGHT(SYS(0),LEN(SYS(0))-RAT("#",SYS(0))))) Best Regards from Panama, Marlon Upvote 0 Downvote
Hello Kitnba, I always use this formula: gc_usuario=UPPER(ALLTRIM(RIGHT(SYS(0),LEN(SYS(0))-RAT("#",SYS(0))))) Best Regards from Panama, Marlon
Jan 2, 2003 #3 RLG07734 Programmer May 9, 2002 33 US * Return User ID of current user function USERID return alltrim(substr(sys(0),at("#",sys(0))+1)) Upvote 0 Downvote
* Return User ID of current user function USERID return alltrim(substr(sys(0),at("#",sys(0))+1))