Print Button

Good day,

How will I know if the print button in report is been clicked? I need to execute codes after the user clicked the print button. Thank you in advance, I hope you can help me

Best Answer

Answers

  • JuhlJuhl Posts: 358Member
    if NOT currreport.preview then
    Follow me on my blog juhl.blog
  • jhanvincent14jhanvincent14 Posts: 114Member
    Juhl wrote: »
    if NOT currreport.preview then

    hello @Juhl. May I ask, where will i put currreport.preview ? which trigger in my report ? or I'll put it in my page ?
  • jhanvincent14jhanvincent14 Posts: 114Member
    Juhl wrote: »
    In Report, everywhere except OnInitReport.

    If you need to run code before report gets data, then in OnPreReport.

    thanks a lot :) @Juhl
Sign In or Register to comment.