Append to end of line when writing to CSV

 

Hi guys,

I could do with a little help if anybody can please.

I'm writing a few trade details to a csv file, which is all fine and working how I want. However, when I record the trade close information, I would like it to append to the last line of data if possible. At the moment, it is creating a new line and writing the data there.

I've searched the documentation and cannot figure out how to do this, I'm sure it's probably simple and any help would be appreciated.


Cheers

 

EDIT: Solved - the following works fine for me (although I need to add a preceding "," to the first written field)

FileSeek(handle, FileTell(handle)-2, SEEK_SET)
Reason: