FILE_READ|FILE_WRITE an impossible operation?

 

Hi there,


I am new here and I have come across a problem I can't seem to solve in my script. I am trying to open and close a file and add information to it. Now the documentation of this procedure seems fairly simple but it just won't work.

filehandle=FileOpen(filename,FILE_CSV|FILE_READ|FILE_WRITE,";"); I use this to open the file and it should add information nicely to my existing file but instead it just overwrites the content of the file and at the end I am stuck with the very last piece of information that has been added to the file. How can I solve this problem? Please help, I am really stuck here.


Thanks,

Flobbo

 

FileSeek() to the end after opening the file for reading/writing as per FileOpen() help documentation.

Reason: