SSRS-paging technology, ssrs-Paging

Source: Internet
Author: User

SSRS-paging technology, ssrs-Paging

Author: Qu junchang

Two paging methods in an SSRS report:

Method 1: Set the area page (as the name suggests, it is to set the area between the footer and the header ).

1. Move the mouse to the red area first.


You can see the attributes:


Set the height to achieve the paging effect.


Method 2: (obtain the average distribution of the number of data records ).

The main method used: Ceiling (rownumber (nothing)/10) 10 represents 10 entries on a page.

The main implementation method is as follows: the matrix method is the same for example in a table.

1. Right-click Details → add group → add parent group

.

2. Pop-up information:


After a prompt box is displayed, edit the function:


Click OK.

3. The field group1.


Select group1, right-click it, and you will be able to see the group attributes. Click Open.


Edit the red area:


Click OK.

Select a tab, as shown in.


Click OK.

4. You can delete the group1 field to save unnecessary fields for beautiful reports.

Click OK.


After completing the preceding steps, the report page is complete.


Let's take a look at the report results in my instance:




SSRS report page,

Table header Paging
1. In your tablix paging option, select "add a paging character before the following items"

Table Paging
1. Add a parent group to the outermost group of your tablix. Grouping conditions: Int (RowNumber (nothing)-1)/5)
2. Select "between instances in the group" in the paging option of the parent group"
3. Delete the column where the parent group is located and keep the parent group

How does JAVA implement paging technology?

I know three types.
1. query by Page Based on the queried result set
2. query is performed using database query statements. If it is an oracle database, the rownum keyword is used. If it is an SQL Server, the top key is used for query;
3. Write the stored procedure in the database.

This is probably the method. You need to find the relevant information for specific internal classes.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.