Default Avatar

stg

stg

About

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

Comments

  • Hello! To display a separate photo from a disk or server for each DataBand record, based on the path from the database (or the record ID): Place a PictureObject component on the DataBand and configure a BeforePrint event handler for it (or bind Imag…
  • Hello! To automatically adapt a template (for example, one designed for Letter) to the current paper size and the printer’s default duplex settings without any dialogue boxes, set the ReportPage and PrintSettings parameters before calling Prepare():…
  • Hello! Yes, you can open the Page Setup dialogue programmematically directly from your UI without launching the Preview window! To do this, the ReportPage object itself in FastReport .NET (WinForms) has a public method called InvokeEditor(): var pag…
  • Hello! To resolve your issue, add the FastReport.Data.OracleConnection connector (after installing the FastReport.Data.OracleODPCore package), register it using FastReport.Utils.RegisteredObjects.AddConnection(typeof(OracleDataConnection)); and upda…
  • Hello! Simply set the PrintIfDetailEmpty property to true on the parent DataBand (in the designer’s Properties window or in the code): this will ensure that Parent1 and Parent2, which have 0 child rows, are also displayed, whilst for Parent3 and Par…
  • Hello! You are using a very early build of FastReport .NET v1.2.47 (ASP.NET WebForms, VS 2010). If the background image (Watermark / PictureObject) or report resources do not load in the web viewer, please check two critical points for WebForms: In …
  • Hello! To count the number of records that meet a condition (for example, City == ‘usa’) for a summary page without printing the table rows themselves: In the Data window, create a total (Total) called UsaCount: TotalType = Count Evaluator = hidden …
  • Hello! It is much quicker and easier to export each page individually using PDFExport’s own functionality via `PageRange = PageRange.PageNumbers` and `PageNumbers = (i + 1).ToString()`: for (int i = 0; i < Report.PreparedPages.Count; i++) { Repor…
  • Hello! The difference between the TextRenderType.HtmlTags and TextRenderType.HtmlParagraph modes: HtmlTags a lightweight parser for basic inline tags: <b>, <i>, <u>, <s>, <sub>, <sup>, <font colour="...&qu…
  • Hello! Migrating from FastReport.OpenSource to the commercial versions of FastReport.Core / FastReport.Net / FastReport.Web is almost seamless – your .frx templates and the RegisterData(...) logic are fully compatible! Migration procedure: In your N…
  • Hello! Yes, you can generate a PDF with any name and save it to the server’s temporary folder (or send it directly to the client from memory); in fact, you don’t even need to create a WebReport to generate the PDF: using FastReport; using FastReport…
  • Hello! If two DataBands (Lecturer and Student) are positioned independently (not as a master-detail ChildBand), and the DataSelector has filtered the first Lecturer band, you can filter the second Student band by the selected lecturers directly in t…
  • Hello! Retrieve a DataTable from MySQL, then, whilst looping through the DataRows, parse the required column using your existing VB function, and pass the parsed DataTable to `report.RegisterData(dt, ‘MyTable’)`.
  • Hello! To completely suppress all windows and dialogue boxes during `Prepare()` and `PDFExport`, disable the `ShowProgress` flag in `Config.ReportSettings` and in the exporter: FastReport.Utils.Config.ReportSettings.ShowProgress = false; // hides th…
  • Hello! Place two independent DataBands on the page (or two SubreportObjects within fixed ContainerObjects – the top and middle bands, each 1/3 of the page height) linked to the same DataSource (Invoices); the top and middle bands will automatically …
  • Hello! The TextEditorForm.Init() error when dictionary == null has been fixed via patches in the latest version of FastReport .NET
    in Preview Comment by stg November 20
  • Hello! In the latest versions, the rendering and caching of objects have been optimised. If RTF formatting is limited to bold, italics, colour and lists, replacing a RichObject with a standard TextObject set to TextRenderType = HtmlParagraph speeds …
  • Hello! To fix this, open the user settings folder Config.Folder (%LOCALAPPDATA%\FastReport\FastReport.config; in the code, you can access it via FastReport.Utils.Config.Folder) and delete the FastReport.config file (or clear the <Forms><Pre…
  • Hello! By design in FastReport .NET, the ReportSummaryBand is printed exactly once at the very end of the report (therefore, if the data does not fit on one page, it always appears on the last page). To ensure that summary/reference information appe…
  • Hello! To resolve this issue in the parent group, set `GroupHeader.KeepTogether = true` (so that the header does not separate from the expanded details; when expanded, the entire last row will move up to the second page along with the details). Alte…
  • Hello! This feature has been implemented in the current versions of FastReport Online Designer. I am sending you a trial version below for testing. https://drive.google.com/file/d/1b0NcoY8mXSt8AvYs2mD6lSL6wlHa1PfN/view?usp=sharing
  • Hello! To resolve this issue, install the official FastReport.Data.SQLite NuGet package (compatible with .NET Framework / .NET Core) and register the connection in your application code: RegisteredObjects.AddConnection(typeof(SQLiteDataConnection));…
  • Hello! In the designer, select ‘Add Data Source’ -> ‘JSON’ -> ‘From URL’ and specify the API endpoint (including authorisation headers where necessary). Programmatically, this is done using `JsonDataSourceConnectionStringBuilder`: RegisteredOb…
  • Hello! In FastReport.OpenSource (2027.1.0), the MapObject is missing, whereas in the commercial FastReport.Net / FastReport.Core (which you can test using the demo packages from the nuget.org package repository) 2027.1.0, the MapObject is built-in a…
  • Hello! You can hide the ‘About’ button and change the icon/title of the preview window (Report.Show()) globally via Config.PreviewSettings before displaying the report: Imports FastReport Imports FastReport.Utils Config.PreviewSettings.Buttons = Co…
  • Hello! When exporting to Excel 2007 (XLSX, with the docProps/core.xml file inside the archive), the document’s metadata is set via `Report.ReportInfo` before calling `Prepare()` or `Export()`: report1.ReportInfo.Author = ‘Your Company’ report1.Repor…
  • Hello! To resolve your issue, pass the List<MyDto> collection or DataTable received from the web service directly to `report.RegisterData(items, ‘Items’)` and set `report.GetDataSource(‘Items’).Enabled = true`. If you need to print rows that h…
  • Hello! In the report script, Report.GetColumnValueNullable(...) (returns null or DBNull without converting to 0001-01-01): object raw = Report.GetColumnValueNullable(‘Task.ExecuteTime’); bool hasDate = raw != null && !(raw is DBNull); In tex…
  • Hello! In your .frx file, <BusinessObjectDataSource Name="DiaryPDF" DataType="null" ...> is declared, and case-sensitive fields are specified (Forename, as well as Name="surname" Alias="Surname"). An err…
  • Hello! When using `ReportPage.Columns.Count = 2` (page-level columns), the `GroupHeader.StartNewPage = true` property moves the next group to the next column on the current page, rather than to a new sheet (`Pages = 1`), so the new group ends up on …