FastReport Opensource - Script not executing on Prepare()

edited July 2022 in FastReport .NET

Hi

I have added a smiple script to the report designer that updates a text box value onbeforeprint. It works fine. When I prepare the same report from C# (Visual Studio - NET 6), the script is not executing. Any ideas? Any help would be much appreciated. Thanks

Comments

  • Issue resolved. When I updated this morning from FastReport.OpensSource 2022.2.12 to 2022.2.13 it works.

  • Hello!

    In the latest versions of FastReport Open Source (e.g. 2027.1.0), the execution of C# scripts (BeforePrint, StartReport, etc.) when calling Report.Prepare() is now supported and has been fixed.

This discussion has been closed.