Hi guys,
how can I change the caption of a report dynamically, if I want to start the same report with another caption?
I have already set a text variable like "ReportCaption" for the "Caption" property and it is initally set to "Text1" in the "OnInitReport()" trigger.
It does not function when I start the report. The title bar has the text "ReportCaption" and not "Text1".
Furthermore, I want to start the report from another place and change this report caption.
how can I change the caption of a report dynamically, if I want to start the same report with another caption?
I have already set a text variable like "ReportCaption" for the "Caption" property and it is initally set to "Text1" in the "OnInitReport()" trigger.
ReportCaption := 'Text1';
It does not function when I start the report. The title bar has the text "ReportCaption" and not "Text1".
Furthermore, I want to start the report from another place and change this report caption.