Jan 1, 2003 #1 kitnba MIS Joined Jul 31, 2000 Messages 132 Location 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 Joined Sep 27, 2001 Messages 66 Location 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 Joined May 9, 2002 Messages 33 Location 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))