How to send a report as an attachment?

gisongison Member Posts: 128
I just know how to use codeUnit:mail to send a mail in Navision but the difficult point is how can I send a report as an attachment?
does there have any method can save a report to a temporary file.....then I can send this file as an attachment...

does anyone got ideas? I'm appreciated.
:?

Comments

  • sendohsendoh Member Posts: 207
    u can save you're report as html in

    file -> save as html
    Sendoh
    be smart before being a clever.
  • krikikriki Member, Moderator Posts: 9,110
    You can also print to a pdf-printer and then send the pdf-file.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • gisongison Member Posts: 128
    Is it possible to generate a excel file? :?
  • krikikriki Member, Moderator Posts: 9,110
    gison wrote:
    Is it possible to generate a excel file? :?
    Well, you can save as html and then open it in Excel, but in general the layout is completely distorted.
    Well, in NAV 5 you can export to Excel and maybe with this simulate a report.
    Otherwise, you have to program it.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • ajhvdbajhvdb Member Posts: 672
    5.0 and style sheets does not send a record or report to Excel (only to Word). The best thing is pdf because the layout and data is protected in the pdf.
Sign In or Register to comment.