>>Hi everybody,
>>
>>I have the following line of code
>>
>>copy memo contents to (lcFile)
>>
>>I found that it fails for the regular user if the file already exists in the directory. The user does have read-write access to the parent directory (and I assume to all its children?).
>>
>>Do you find this to be the case for you as well and what will be the solution?
>>
>>Thanks in advance.
>
>Try SET SAFETY OFF, maybe that helps?
I think it's most likely already off, but I'll verify. I don't think this is the PROBLEM, as I only get the error when I log as a user without Admin rights on this computer (and it's quite inconvenient to test as I have to switch users and re-log all the time).
UPDATE. This form uses default data session and it does not explicitly set SET SAFETY OFF. I think I'll add it there to not rely on the main program setting it properly.
If this will turn a solution, it will be very nice and simple.
If it's not broken, fix it until it is.
My Blog