As everyone seems to be noticing the SYS(0) function returns a different value between FP and VFP flavors of the app. I have not been able to find a function in 2.6 to get the user name. We happen to put the user name into an environment variable so I use GETENV() to try and pull the user name. But on Citrix/Winframe/TS this often does not work at all. I know this isn't much help but might save you some time troubleshooting.
George
>I have a client with Old FPW 2.x appl. The client are user a GPLib.fll to get the User ID. For some reasions the function that get the User ID do not Work on Window 2000.
>
>I know we had a way, back in the old days, to get User ID in FPW2.6 with a call to FoxToll or Win API.
>
>Any one remember's HOW?
Everything we see or seems
Is but a dream within a dream - Edgar Allen Poe