>>>
>>>Maybe somebody/something else has it open at that time?
>>
>>
>>If it's open, it would be the same application. Everything is local.
>
>This is quite possible, depending on how you created it. If you use FileToStr(), the file will immediately be closed (I think). But with many other approaches, including SET ALTERNATE, and fcreate() + fwrite(), the file MAY remain open.
>
>Hilmar.
We've traced the problem down to somewhere else in the code. STRTOFILE was working just fine. Thanks to all anyway.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer