Support Forum - How to set report title at runtime

11/04/2024 11:30 Nelson wrote:

Dear Oleg,

Is there a way to set the report title of our RPT file at runtime? The report
title will be shown as the document name of print spooler which we can use it as
PDF file name.

Thank you.

Regards,
Nelson

11/04/2024 14:37 Oleg Fomin wrote:

Place your embedded code after ThisReport.LoadReport 

  ! Start of "Before Process Data"
  ! [Priority 5000]
  ThisReport.ReportName = 'My new report title'
  ! End of "Before Process Data"

Name:
E-Mail: (will not be published)
Subject:How to set report title at runtime


Message body:

Verification code:

Please, do not include any URLs into the message.
Otherwise, your message will be rejected and IP blacklisted automatically.
Off topic messages will be deleted by moderator.