Dataport export file new line issue

zaczac Member Posts: 29
Hi guys,
I'm trying to export data via dataport in a couple of files. Those files are open during record processing but records are written in the first line of file all the time.
I'v used file pointer over SEEK function but in this case I can only set position to the end of previous written record. Can I somehow set the file pointer to the new line?
Tnx.

Answers

  • SavatageSavatage Member Posts: 7,142
    I don't think dataport will allow you to append to a file (not 100% sure)

    but the way to do that would be OUTSTREAM search for
    OutStream.WRITETEXT in the c/side ref guide for more details

    or search the forum for outstream
  • zaczac Member Posts: 29
    Solutions are sometimes so simple that is impossible to see it.
    I only put '\' char to the end of line and after that I use seek function to get pointer position and that's all.
Sign In or Register to comment.