Export to textfile from report through dataport

I wanted to export the report to textfile through dataport, the report display should filter by date enter by user at the dataport. So, I have to get the date enter by user in dataport and filter it in the report.
How should I write the coding?

Thanks in advanced!

Comments

  • create a function SetPostingDate in report and call it from dataport.
    if you want to set it on dataitem then look in to Print Voucher see how it set filter's(document no.) to report.
  • how should the SetPostingDate function be code?
    can explain?

    Thanks in advance.. :D
  • Take a look on C/Side help and see how function are work.