XMLPORT RECORDSEPARATOR

tulliotullio Member Posts: 39
edited 2014-07-07 in NAV Three Tier
NAV 2013 R2
I'm running an XMLPORT from a processingonly report.

XMLPORT:
Format: Fixed Text
RecordSeparator: <<NewLine>>

In the report code running is:

NewXMLPort.SetRec(Recordset);
NewXMLPort.SETDESTINATION(MyNewOutStream);
NewXMLPort.EXPORT;

Problem is that Nav ignore RecordSeparator and all record was on single line.
But If I run directly XMLPORT it work great.

I'have found problem. Passing single record every time XMLPORT not write recordseparator.
There is a way to insert newline after last field?

Any solution?
Sign In or Register to comment.