Print Button

jhanvincent14jhanvincent14 Member Posts: 214
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 Member Posts: 724
    if NOT currreport.preview then
    Follow me on my blog juhl.blog
  • jhanvincent14jhanvincent14 Member Posts: 214
    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 Member Posts: 214
    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.