Is it possible to export a Query without headers in NAV 2016?

vgmoshervgmosher Member Posts: 1
Hello! I am exporting a query using C/AL code. I'm using NAV 2016. I use the SAVEASCSV functon. Everything is working great except that I need a CSV file without the headers. I have not been able to find anything on this. Does anyone know how to export a query without headers? I would appreciate any help on this!!!


  • Options
    krikikriki Member, Moderator Posts: 9,096
    [Topic moved from 'NAV Tips & Tricks' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!

  • Options
    KeptyKepty Member Posts: 54
    edited 2018-02-09
    Unfortunately, it is not possible. It's like the SAVEASHTML/SAVEASEXCEL functions, there is no way to change their behavior.

    But you could do it with XMLport or remove the first line from the generated file using .NET interoperability.

    Tomáš Kapitán
Sign In or Register to comment.