>>Copy memo contents to (lcTempFile)
>>ERASE (lcFile)
>>COPY FILE (lcTempFile) TO (lcFile)
>>
>>Would that still give an error?
>
>The file name is already unique and the path is supposed to be local path - ProgramData directory on user's machine.
>
>However, the user uses Citrix and I don't know how this fact contributes into the problem.
I thought with this workaround you could better isolate the problem to the copy command, or alternatively use Filesystemobject to do the copying to the final destination.
Christian Isberner
Software Consultant