Default Avatar

stg

stg

About

Username
stg
Joined
Visits
38
Last Active
Roles
Members, FR Team

Comments

  • Hello! To resolve your issue, you can use direct expressions within CellSaalScore: [(ToDouble([Data.M1]) + ToDouble([Data.M2]) + ToDouble([Data.P1]) * 2 + ToDouble([Data.P2]) * 4) / 8] Alternatively, you can use it in the BeforePrint event of your D…
  • Hello! To merge all rows with the same code whilst preserving the order of their first occurrence (123 → 50, 098 → 30, 234 → 50, 345 → 10), use the following solution: Add a calculated column called FirstSeenSeq to the source (the sequence number of…
  • Hello! To resolve this issue, the following must be included: builder.Services.AddFastReport(); var app = builder.Build(); app.UseFastReport(); // before UseAuthorisation() and MapControllerRoute() Also, in the Razor view (Index.cshtml), deprecated …
  • Hello! To preserve native Date formatting in Excel exports (.xlsx / Excel2007Export): The underlying column in your DataTable or business object must be strictly typed as System.DateTime. If it is System.String, FastReport treats it as text and expo…
  • Hello! In FastReport .NET, you can specify the sort order for rows in one of three places (depending on how the data is received): On the DataBand in the designer: double-click the DataBand -> open the Sort tab -> add a sort field (for example…
    in Sorting Comment by stg November 13
  • Hello! Please ensure that your printer model is equipped with an RFID encoder and that RFID tag writing is enabled in the Windows driver or printer settings (rather than ‘Pass-through / Print only’ mode). Check the length/format of the EPC data (it …
    in RFID tags Comment by stg November 13
  • Hello! Freezing and out-of-memory errors under load in ASP.NET are usually caused by storing pre-rendered WebReports in the cache or session, or by unmanaged object leaks during thread-unsafe operations. Here’s what we recommend you check: Reduce th…
  • Hello! The FastReport.Net.Pro package (and the FastReport.Bars and FastReport.Editor assemblies) is a WinForms package for Windows Desktop; therefore, it strictly requires net8.0-windows, conflicts with the older System.Data.SqlClient, and is not su…
  • Hello! The attached screenshot does not show the full text of the exception in the subject line. If the error occurs during `new Report()` / `Prepare()` when running the FastReport Avalonia demo, please check the following two common issues: If you …
  • Hello! In FastReport .NET, C# is selected as the default scripting language; therefore, within IIf() expressions, the C# operators && and || are used, rather than the keywords ‘and’ and ‘or’ (the words ‘And’ and ‘Or’ are only permitted when …
  • Hello! The behaviour of the Total when there are 0 rows in the data source depends on the aggregate type and the Report.ConvertNulls setting: ConvertNulls = false (default): Count returns 0, whilst the Sum, Min, Max and Avg aggregates return null or…
  • Hello! The cause of the error in the line `report.LoadPrepared(‘.\\ReportTemplate\\TestReport.frx’);` is that the `LoadPrepared(...)` method is intended only for report files that have already been prepared (.fpx – `SavePrepared`), not for .frx temp…
  • Hello! Our developers have managed to rectify this issue; please look out for the fixes in the next version of FastReport .NET.
  • Hello! Yes, you can create a DataTable or DataSet (by reading files or a database) and register them using Report.RegisterData(...) directly within the report script in the _StartReport handler. Example:  private void _StartReport(object sender, Eve…
  • Hello! In the new FastReport .NET product range, the CalcCheckSum property is not located on the root BarcodeObject, but within the nested BarcodeObject.Barcode symbology generator object. In the designer: select the BarcodeObject, locate the Barcod…
  • Hello! When the error ‘The input is not a valid Base-64 string’ appears on only one machine or in a specific .frx file, the cause is almost always one of two: If the string contains line breaks, spaces or the prefix `data:image/png;base64`, the `Con…
  • Hello! The error could not be reproduced in the latest version of FastReport.Core 2026.2.8. What to do: Update the packages to the latest version, 2026.2.8. Ensure that, in the Web API, a new instance of Report and PDFExport is created for each HTTP…
  • Hello! In the current version of FastReport.Core 2026.2.8: in 2026.2.8, the [Browsable(false)] attribute is now taken into account automatically when calling `report.RegisterData(list, ‘Items’, 2)`, so hidden properties are not included in the list …
  • Hello! It is possible to call functions nested within a single expression (provided the argument types match, for example, `Func2(Round([Value], 2), 2)`), but in your case there is no need to nest `Truncate` within `Round`: `Round([Value], 2) return…
  • Hello! To ensure that the separator line is always displayed exactly once after the ‘User + all their departments’ block, even if the user has 0 records in the departments table (Detail), do the following: On the parent DataBand (UserDataList), set …
  • Hello! To resolve your issue, do not pass the raw character ((char)29).ToString() directly into the barcode text. When exporting via SVG/vector graphics, the character 0x1D is an invalid XML character and causes an XmlException (hexadecimal value 0x…
  • Hello! To resolve your issue, if you are using your own endpoint / CSVExport, pass `Encoding.UTF8` (or `Encoding.GetEncoding(1254)` with a BOM for older versions of Excel; in .NET Core, you need to use `Encoding.RegisterProvider(CodePagesEncodingPro…
  • Hello! Your workaround removing the <MsSqlDataConnection> XML tag and reconfiguring the <TableDataSource> does work; the real issue is that the saved database connection within the .frx file takes precedence and requires a connection str…
  • Hello! Automatically adding a blank page after a student (or group) if they have an odd number of pages is done in two steps with `DoublePass = true`: For `GroupHeaderBand`, set `StartNewPage = true` and `ResetPageNumber = true` (so that the system …
  • Hello! A sharp increase in the size of the PDF (from 2 MB to 20 MB) and the text appearing pixelated as if it were an image when exported from the code indicate that the application is using the raster-based PDFSimpleExport exporter (FastReport.Open…
  • Hello! To display two independent data sources side by side in two columns (the VirtualAccountData list on the left and a fixed block of a single model on the right), place them side by side using two SubreportObjects within a single ReportTitle / D…
  • Hello! Thank you for the example! We have tested the <Dictionary> snippet provided in the latest version of FastReport.Core 2026.2.8: Why a bare <XmlDataConnection> tag without any attributes will not connect to the data on its own: when…
  • Hello! I have reproduced this issue and created a task for our developers; as soon as the changes are available, we will let you know straight away.
  • Hello! The solution above is relevant; thank you for the clarification.
  • Hello! The DataTableException: ‘Table is not connected to the data’ occurs because simply removing the <MsSqlDataConnection> tag leaves a TableDataSource object within the .frx file with Name="Table", Alias="BS" and a refer…