onBeforePrint not run!

Hi!

I migrated my applications FastReport 4 (Delphi XE3) to Fast Report 5 (Delphi XE8) and I found a problem: The reports never run the "OnBeforePrint".

The same report XE3 open with FastReport 4 works without problem.

The version used in XE3 is 4.13.1
The version used is 5.3.1 XE8

OnBeforePrint code is:

Page1OnBeforePrint procedure (Sender: TfrxComponent);
begin
if <DataReport. "Signed"> <> 1 then
begin
SignatureScan.visible: = false;
end;
if <DataReport. "csv"> = '' then
CSV.visible: = false;
end;

What I can be doing wrong?

Thank you

Comments

  • gpigpi
    edited 5:43PM
    Uninstall FR, remove all FR's files and folders (see system and hidden folders too) and then install FR again

Leave a Comment