Options

Navision Dataport Export

NaviGuyNaviGuy Member Posts: 2
Hi Navi experts,

I would like to use dataport to export text file with fix format (fileformat : "Fixed" used). But I'm having problem on presenting data into multiple lines within a single record.

:cry: Does anybody know how to do it? Please help me!!!

Thank you :P

Comments

  • Options
    kinekine Member Posts: 12,562
    Sorry, but FIXED format means, that format of line is FIXED, you cannot have one line with some format and another with another format...
    not fixed format (altering lines):
    line format 1
    line format 2
    line format 1
    line format 2
    ...
    
    fixed format:
    line format 1
    line format 1
    ...
    <table delimiter>
    line format 2
    line format 2
    ...
    
    
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    Christian_BuehlChristian_Buehl Member Posts: 145
    :idea:
    If you really need this option you can add a fixed field which just contains a carriage return (chr[13], but be aware not to encapsulate in brackets.
    Another possibility is to write special characters (e.g ## or ~) and replace this characters with a programm called after the dataport was run.

    Another solution is, to do all manually in a codeunit and use datatype file with its functions (file.create, file.write...) instead of a dataport.
Sign In or Register to comment.