Export Path Name

lazziegallazziegal Member Posts: 11
I am letting user to select the path to save the export file at the dataport.
But, I am exporting the file at report, how do I set the report so that it wll export at the path name that user enter at dataport?

Thanks in advanced!

Comments

  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    Create a new function within your report SetExpPath(Path) and call this function right before you start your report.
    "Money is likewise the greatest chance and the greatest scourge of mankind."
  • jhoekjhoek Member Posts: 216
    Please take a look at codeunit 412 Common Dialog Management. Calling that codeunit from the OnAssistEdit of a textbox on your report's request form gives it functionality similar to a dataport's file selection.
    Kind regards,

    Jan Hoek
    Product Developer
    Mprise Products B.V.
Sign In or Register to comment.