Options

Can we export CSV file from Dataport?

kenlkenl Member Posts: 182
Hello,

Can we export CSV file from Dataport?
When I run a dataport and export, click file name "...", the dialog file type is pre-set as "Text Files (*.txt)". Can we set it into other format (like CSV) ?

Btw, for dataport, which file format does it support (for import and export)?

Best regards,
Ken

Comments

  • Options
    pri_1_ranjanpri_1_ranjan Member Posts: 67
    ya u can export files in .csv format.
    to get a better output u have toset some of the property of the dataport such filedelimeter to be set to comma type etc etc

    dataport supprorts only flat file format ie .csv , .txt
    /PDR
  • Options
    krikikriki Member, Moderator Posts: 9,090
    You can also use fixed width.

    Best format is tab-seperated (Property FieldSeparator = <TAB> (including < and > and TAB in uppercase). (the , or ; can be used in the texts to import or export and in this case the dataport goes nuts)

    some other discussion on dataports:
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    kinekine Member Posts: 12,562
    You mean to change the default file filter? No, you cannot change it. There is only one way - change the Request form, add new Text box, add OnAssistEdit code with use of Common Dialog Management to select the file (you can enter the file filter there which you need)....
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    kenlkenl Member Posts: 182
    Yeah, I follow Kine's suggestion and I am able to set the file type filter now. :)

    Thank you all of you
Sign In or Register to comment.