How to change the report caption dynamically?

Yabu13Yabu13 Member Posts: 12
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.
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.

Answers

Sign In or Register to comment.