DatePort Export options

flint
flint Member Posts: 44
Hi,

I want to develop a dataport with options of export(on the request form) :
- CSV file
- Excel(use the excel automation)

The problem is that when i choose excel the dataport look for the file to export and display an error message(file not found)

Is There any way to export to excel using excel buffer on a dataport ?

Thanks

Comments

  • kriki
    kriki Member, Moderator Posts: 9,135
    Yes, but the dataport will create a file anyway.
    You can also use a report to create your XLS or create a CSV-file.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • flint
    flint Member Posts: 44
    Thanks for your help.

    The problem with report is that i don't have any idea on how to create a CVS file (automatically not manually).

    Is it possible to create on a given Report a CVS file like a dataport ?



    Thanks a lot for your help
  • kriki
    kriki Member, Moderator Posts: 9,135
    flint wrote:
    Is it possible to create on a given Report a CVS file like a dataport ?
    Yes, but you do it in the 'old' way. You open a file for writing and you write line per line in it.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • flint
    flint Member Posts: 44
    Thanks kriki

    I think it's the only way to do it