Access the designer caption

edited August 2012 in End User
Dies ist eine mehrteilige Nachricht im MIME-Format.


  • edited August 2012

    Try using Report.ReportDesigner.Caption, in my testing that works. I also
    recommend checking whether Report.PreviewForm is nil, prior to accessing

    Perhaps you had extended your RB 9.03 RAP environment with some customer

    I installed RB 9.03 to test. I create a new report, add a Label and in the
    Calc workspace implement the Report.BeforePrint event

    if Report.PreviewForm <> nil then
    Label1.Caption := report.previewform.Caption;
    if ( Label1.Caption = '') then
    Label1.Caption := Designer.Caption;

    The above results in the following compile error:

    Error: ReportBeforePrint, Line 5: Undeclared identifier.

    Nard Moseley
    Digital Metaphors

    Best regards,

    Nard Moseley
    Digital Metaphors
This discussion has been closed.