Hi Sergey
Sorry for my late answer. In my system I always check for the existence of the file first, and if it does not exist, I make the file and fill it with info about who the user is, so my total function is safe. I just wanted to give Robert a quick answer before I left for a week's vacation in Denmark.
>It's not recomended to use the SYS(3) function because it can return duplicate values on fast computers.
>
>
>>Hi Robert
>>
>>Try SYS(3), like lcTempfile=SYS(3)+'.TMP'
>>
>>>I want to know if there is a function inside fox pro to obtain a temporary file name