Windows XP Client 2.60 Buffer Problem with ASCII file. Hello ALL, I have a report that creates an ASCII file. Then from within my report I close the channel to the file and start a third party program that reads the data in the ASCII file. The ASCII file exits but SOME TIMEs the data has not been written, When re-start the third party program, it can then read the data that was not there in the first attempt. I have tried putting a sleep in the Navision program. (This is very messy and it’s not always working.) Look forward to any input, Regards Graham
I am not sure I really understand the problem. Is it the third-party program, that doesn’t read the entire file, because Navision has not written its data in the file buffer to the file? Or is it the third party program that has to append data to that file, which is not recognized by Navision when it re-opens the file? Alex
Hello Alex Reading back I did not make myself so clear what i was trying to say was as you wrote “Is it the third-party program, that doesn’t read the entire file, because Navision has not written its data in the file buffer to the file?” It does not have to be a Navision problem it could be a Windows XP problem, Does not matter the problem is mine now. [V]
Try to let Navision write into a temp file and copy this file to the path where the third party program tries to read it (use the SHELL command for example). I bet this way you can trick the OS. Alex