Dataport Fixed Export Line separator after last line

andy76andy76 Member Posts: 616
Hello,

I need that on last line of the file exported (single dataitem) there will be the line separator as in previous lines.
I setted :
RecordSeparator: <NewLine>
DataItemSeparator: <NewLine>

but on last line there is no separator.
How can I insert a line separator at the end of last record?

Andrea

Comments

  • krikikriki Member, Moderator Posts: 9,110
    In the OnPostDataItem, try this code:
    txtCRLF := 'XX'; //this is a text-variable
    txtCRLF[1] := 13;
    txtCRLF[2] := 10;
    CurrFile.WRITE(txtCRLF);
    
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.