Run dry set calculation report rendered output page number display

Source: Internet
Author: User

report paging or printing in order to facilitate viewing often need to display page numbers, common display of the current page, a few pages, record number of pieces of information, and sometimes the first page does not show page numbers. Run dry Set Calculation report provides a page after the function can easily achieve a variety of page number display effect, the following example to see how to use.

in the order list, you need to display the current page number, total number of pages, number of records and total records and other information, and ask the first page does not display pages, the effect is as follows:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/6A/wKioL1UI8L-RLZutAAIGGVRv8t4952.jpg "style=" float: none; "title=" report5_output_page_number_1.jpg "alt=" Wkiol1ui8l-rlzutaaiggvrv8t4952.jpg "/>

The report template settings are as follows:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/6A/wKioL1UI8MDQF-VaAAD8IQdSFXE729.jpg "style=" float: none; "title=" report5_output_page_number_2.jpg "alt=" Wkiol1ui8mdqf-vaaad8iqdsfxe729.jpg "/>

which

1. Set therecord number display area ( line 1) row type to the report header, and use the pno () and Pccount () to calculate the starting position of the record number after the pagination provided by the set calculation report; Ds.count () calculates the total number of records, here because Ds.count () can not be used with the post-paging function, so through the F2 to do the auxiliary lattice, after the completion of the second row is hidden;

2. Set thepage number display area ( line 5) type to the end of the report, using the paging function pno () and Pcount () to calculate the current page number and total pages;

3. Write the expression if (pno () ==1,false,true) in the visual properties of the A1 and A5,respectively , and control the home page not showing:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/70/wKiom1UI75eDg_ZOAABTXMKvpos791.jpg "style=" float: none; "title=" report5_output_page_number_3.jpg "alt=" Wkiom1ui75edg_zoaabtxmkvpos791.jpg "/>

publish the report and view the report effect on the page:


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/70/wKiom1UI75nAx5D8AAGwoY85ewk964.jpg "style=" float: none; "title=" report5_output_page_number_4.jpg "alt=" Wkiom1ui75nax5d8aagwoy85ewk964.jpg "/>


first page second page


This article is from the High performance report data calculation blog, so be sure to keep this source http://report5.blog.51cto.com/8028595/1622460

Run dry set calculation report rendered output page number display

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.