Duplication or removal of pages in the preview mode of the report

2018-11-01

In FastReport 2018.4 a very interesting feature appeared - duplication and removal of the report pages in preview mode. Let us be clear. We are talking about the pages of already built report. That is, you can select a specific report page and clone it as many times as you want, or delete the selected page. In this case, there will be no effect on the template itself. Even if you have only one page. To get everything back to its original state - simply build the report again.

When this function can be useful? For example, if you want to print the report, and any specific pages needed in multiple instances. Or, on the contrary, some of the pages you do not want to print. Yes, in the print settings you can select the desired page number. But you must remember these numbers. It is not very convenient. Using the new function, you add the required pages without having something to remember.

Let's see how this works on practice. For example, we have a built in preview mode Simple List report. Let’s reduce its scale to fit in the scope all three pages:

 

Note that the first page has a yellow frame. This means that it is now selected.
On the toolbar at the top there are two shortcuts:

-  copy the page

-  delete the page

Let’s copy the first page:

 

The copied page is added immediately after the selected.
Now delete all pages except the last one. When you remove pages, the focus switches to the subsequent page. So, in our case, it's best to set the focus to the first page, and then delete the page. In the end, there is only one, the last page of the report. We can clone it, but other pages are not available for this action. 
Thus, the new function of cloning and deleting pages of ready built report is very useful when printing.

.NET FastReport .NET FastReport
April 22, 2025

Working with the TfrShellTreeView Component in FastReport VCL

In this article, we will look at the TfrShellTreeView component. It is designed to display file system elements and is partially analogous to the TDirectoryListBox, TDirectoryOutline, and TShellTreeView components.
April 21, 2025

How RFID Tags Work in FastReport VCL

In this article, we'll check out how RFID tags work with the new TfrxDeviceCommand object in FastReport VCL with release 2025.2.
April 08, 2025

How to Set Up a Connection to Apache Ignite in FastReport .NET

In this article, we will explore how to configure a connection to Apache Ignite in FastReport .NET. You will learn the necessary steps to connect the plugin via code and the report designer.
Fast Reports
  • 800-985-8986 (English, US)
  • +31 97 01025-8466 (English, EU)
  • +49 30 56837-3928 (German, DE)
  • +55 19 98147-8148 (Portuguese, BR)
  • info@fast-report.com
  • 66 Canal Center Plaza, Ste 505, Alexandria, VA 22314

© 1998-2025 Fast Reports Inc.