>>In teh code issue
>>
>>ERROR 41
>>
>>or replace fpt file with some other file.
>>
>>>
>
>Thank you, Sergey. I didn't know this can be done. So I can just put this line right before or after my REPLACE it would have the same effect?
Almost. It'll trigger error 41 on that line not on the REPLACE. There could be some other differences depending on error. If you just want to catch error 41 than it'll have the same effect. If you want exactly the same effect, replace fpt file with some other file.
--sb--