Run dry report to achieve paging display by content

When the number of query results is large, but the number is limited when grouped by a certain field, in this case, if paging display is performed, it is better to perform paging display according to the grouped fields.

For example, there are 10 good products, and each product will have dozens of data records according to other attributes. If pagination is performed by field product, the final paging result will be 10 pages.

Advantages: paginated display according to the required content, the results are clear and clear

Disadvantage: The records on each page are not necessarily equal

step:

Step 1: Press the ctrl key in the first column to select rows 1 and 2, right-click to select row properties, set the type to group header, and confirm. The result of this setting is that each page after pagination displays the report name and due date of the first and second lines.

Run dry report to achieve paging display by content

Run dry report to achieve paging display by content

Step 2: Select the summary row right-click property of the last row, select the Pagination after row check box, and press OK

Run dry report to achieve paging display by content

Step 3: Set the expression of A2 as main.group(c_fundcode), and c_fundcode as the basis for paging. Note that the position of this grouping condition must be located above the fourth row of the data area, and set the 1st, 2nd, and 3rd rows The left nominative cell is A2. The function is to display the report name, due date, and report header on each page.

Run dry report to achieve paging display by content

Step 4: Set the expression of A4 to main.select(l_rank, , c_fundcode == A2) according to the method of step 3, and set the left main cell of A4 to A2. Set the left main cell of the B4~H4 data area as A4, and the left main cell of the fifth row summary row as A2 to summarize the data of each page. l_rank is a sequence number in the query data set, and here is the sequence number after sorting.

Step 5: Click Properties -> Report Properties -> Pagination and set the paging method to paging by paper.

Run dry report to achieve paging display by content

The pagination effect of the last 44 products:

Run dry report to achieve paging display by content

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325520415&siteId=291194637