thanks,
worked perfectly
~M
>>All,
>>i'm trying to find out the name of the domain that my application is running on and if the domain is x then show a different screen. only thing is i don't know how to get the domain name in vfp, i've had a look through sys commands but nothing in there, any ideas?
>>~M
>
>Look at GETENV("USERDOMAIN")
Go raibh maith agat
~M