How to create dataport from report?

enoahmedspahicenoahmedspahic Member Posts: 25
Can I create dataport from (already created) report?
Is this posible?
Thanks for help....

Comments

  • Sandeep_PrajapatiSandeep_Prajapati Member Posts: 151
    In the report, code can be written for writing the report output to excel sheet. ..... O:)
    Sandeep Prajapati
    Technical Consultant, MS Dynamics NAV
  • garakgarak Member Posts: 3,263
    edited 2008-09-09
    Can I create dataport from (already created) report?

    No, thats not possible. but you can run a existing Dataport from a report or you use the report as "Dataport". For this you can use the variabletype "FILE". With this variable type you can read / write a files. Or you send your data to / read the date from a 3-rd application (word, excel, etc)

    Regards
    Do you make it right, it works too!
  • SavatageSavatage Member Posts: 7,142
    In the report, code can be written for writing the report output to excel sheet. ..... O:)

    Yes something like this..
    http://savatage99.googlepages.com/50085 ... oExcel.fob
  • garakgarak Member Posts: 3,263
    But the question is: What do you want to do :?:
    Do you make it right, it works too!
  • enoahmedspahicenoahmedspahic Member Posts: 25
    I have created report.It work fine.But I have new task...I need to create same file like report but in excel.
    I will see for FILE command....but where to put it in code.
    I guess in OnPresection code?(is this correct?)
  • kinekine Member Posts: 12,562
    I have created report.It work fine.But I have new task...I need to create same file like report but in excel.
    I will see for FILE command....but where to put it in code.
    I guess in OnPresection code?(is this correct?)

    Yes, we sometime use the OnPostSection to write the same data which are in the section, into file (excel). Of course with condition on ShowOutput...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • ssinglassingla Member Posts: 2,973
    You can use Excel Buffer table for exporting the data.
    CA Sandeep Singla
    http://ssdynamics.co.in
  • enoahmedspahicenoahmedspahic Member Posts: 25
    Thanks for help. I found some example for Excel buffer...When I finish my task I will present solution and mark topic as SOLVED.
    Now I need to understand how Buffer work.
Sign In or Register to comment.