stg
stg
About
- Username
- stg
- Joined
- Visits
- 38
- Last Active
- Roles
- Members, FR Team
Comments
-
Hello! Calling `report.Load(...)` and `report.Prepare(true)` in turn on a single instance of `Report` only works correctly if the previous data or prepared pages are not overwritten by the new connection. The cleanest and safest way to combine diffe…
-
Hello! The error ‘The GuidRepresentation for the writer is CSharpLegacy, which requires the subType argument...’ originates directly from the MongoDB.Driver / MongoDB.Bson driver (versions 2.11+ introduced a strict BsonDefaults.GuidRepresentationMod…
-
Hello! Before calling `report.Prepare()`, you must carry out the following: report.Load(‘YourReport.frx’); report.RegisterData(calibrationsList, ‘CalibrationsView’, maxNestingLevel: 3); var ds = report.GetDataSource(‘CalibrationsView’); if (ds != nu…
-
Hello! To ensure that line breaks within MatrixObject headers/cells (where WordWrap = true) increase the row height, and the text is not truncated to the original height of the template cell, you need to enable automatic row sizing for the matrix: S…
-
Hello! To generate a batch of letters for a set of customers (CustomerNr) in a single run without wasting memory on dozens of Report objects: Use a single instance of Report, load the .frx file once, and call `report.Prepare(append: i > 0)` in a …
-
Hello! For a TableObject created entirely using C# code-behind to appear in the final report, it is not enough simply to subscribe to ManualBuild; you must also: Set the column widths (ColumnCount, col.Width) and row heights (RowCount, row. Height),…
-
Hello! If the error occurs immediately upon launching the designer, in most cases it helps to check write permissions and clear/reset the FastReport.config user configuration file.
-
Hello! Please ensure that Exportable = false is set on the PageHeader band itself (or on each TextObject within it) before calling Prepare()/Export() (or in the BeforePrint script when checking the export type), rather than on a third-party object; …
-
Hello! Install the FastReport connector package for SQLite into your project. Register the connector plug-in in the project/designer (using `FastReport.Utils.RegisteredObjects.AddConnection(typeof(SQLiteDataConnection))` at runtime, or via `File -&g…
-
Hello! For a complex CTE, wrap it in a view or subquery using `SELECT * FROM (WITH ... SELECT ...)`, or create an Oracle view or stored procedure (SYS_REFCURSOR), or execute the CTE in C# via OracleDataAdapter and pass the resulting DataTable to `re…
-
Hello! To resolve this issue, you can combine them into a single WebReport (just as you do for PDFs): load the first report, call `Prepare()`, then load the subsequent ones and call `webReport.Report.Prepare(append: true)`, passing the already prepa…
-
Hello! You have the FastReport.Core package installed; it is cross-platform (without the WinForms designer), so the Report.Design() method is indeed not present in its API. To open the interactive report designer within a WPF application on Windows:…
-
Hello! Setting the PrintOnBottom property of the second child DataBand to true aligns each printed band to the bottom of the page; if row overflow is enabled, or if the band itself is called within a loop whilst there is insufficient free space or t…
-
Hello! The easiest way to count the number of DataBand rows printed on each individual page, without using scripts, is via the Total system object, which automatically resets after printing: In the Data -> Totals -> New Total window, create a …
-
Hello! If, out of the four groups, it is specifically GroupHeader1 or GroupFooter1 that is not being printed, the most common reasons are as follows: The Data property (nested DataBand) is not bound to the outermost GroupHeader — the group chain mus…
-
Hello! The Kind property is set to HyperlinkKind.DetailReport or HyperlinkKind.DetailPage (the parameter field is not used for URL, Bookmark or PageNumber). A valid detailed report file is specified in Hyperlink.DetailReportName (or the target page …
-
Hello! Enable 2-Step Verification (2FA) in your Google Account and create an App Password (16 characters) enter this specific App Password in the `email.Account.Password` field, with Host = ‘smtp.gmail.com’, Port = 587, and EnableSSL = true. Alterna…
-
Hello! Use a GroupHeaderBand with a grouping condition based on the school ID/name: GroupHeader.Condition = ‘[Students.SchoolName]’. Place the school information (name, logo, address) in this GroupHeaderBand, place a DataBand containing the list of …
-
Hello! Regarding the first point (AutoGuides=‘1’ in FastReport.config when calling Design()): this is an issue with the saved user profile for the designer settings. Close the designer/application, delete or open the configuration file (usually %Loc…
-
Hello! I have managed to reproduce this behaviour, created an issue and forwarded it to our developers; please expect fixes in future versions of FastReport .NET.
-
Hello! The correct solution was to use dp.YValues[0]. Thank you for your reply.
-
Hello! I am sending you a test Blazor application that uses FastReport.Core: https://www.dropbox.com/scl/fi/jlp1nzig9kuveet9tnso0/FastReport.Blazor.Demo-Online-Designer-Trial-2.7z?rlkey=dyykkhkbb3k312b7g6u14aqwn&st=nfgmgi8l&dl=0
-
Hello! To ensure that a table with a header (row 0) and a data row (row 1) displays the header once and then lists all rows from the DataSource, use the Table1_ManualBuild event: private void Table1_ManualBuild(object sender, EventArgs e) { var ds =…
-
Hello! Support for HTML tags (including <ul>, <li>, <table> and text formatting) is implemented in the latest versions via the HtmlObject (a full HTML renderer, which now also supports export to PDF) and HtmlParagraph (FastReport.H…
-
Hello! Please check the PDF export settings (PDFExport.TextInCurves, PrintOptimised, and whether EmbeddingFonts is enabled or disabled) and the application manifest (DPI awareness: PerMonitorV2 or System DPI aware). In the latest versions of FastRep…
-
Hello! When starting the application, specify a writable local cache directory and server mode: FastReport.Utils.Config.WebMode = true; FastReport.Utils.Config.TempFolder = Path.Combine(AppContext.BaseDirectory, ‘fr_font_cache’); Directory.CreateDir…
-
Hello! The FastReport .NET platform is not deprecated the product line is actively being developed and supported (the latest 2026.2.x builds support the .NET Framework, .NET 6/8/10 and cross-platform scenarios via FastReport.Core / FastReport.Core.S…
-
Hello! If the table structure and column names are the same, connect to the required database in the application code (populate the DataSet/DataTable via OleDbConnection or SqlConnection), clear the built-in connection in the dictionary, and pass th…
-
Hello! To send reports via Office 365 / Microsoft 365, you need to configure SMTP (not POP3) in EmailExport.Account, with TLS/SSL encryption enabled: var email = new FastReport.Export.Email.EmailExport(); email.Account.Host = ‘smtp.office365.com’; e…
-
Hello! Place all the required DataTables (A, B, etc.) into a single DataSet, call `report.RegisterData(dataSet)` and enable all the tables: `report.GetDataSource(‘A’).Enabled = true; report.GetDataSource(‘B’).Enabled = true;`. Bind the Chart1.DataSo…