Fastreport.net using: [4] Grouping

Source: Internet
Author: User

1. Draw the report title and the top of the column.

2. Set up the report bar to add a group to the data area

3. Right-click the group header and select Edit in its right-click menu to display the Group Edit dialog box.

Set the grouping criteria, you can select the "study number" column in table tables directly from the drop-down menu, or you can go to the Expression Edit dialog box via the FX expression button and select the "study number" column in the tables table in the data source of the Expression Editing dialog box.

4. Add a Label control to the grouping header bar to display the grouping information.

Sets the background color of the label control to Lightgray.

Double-click the Label control to enter the text editor with the following: Name: [table. Name] (Study No.: [Table. Study number]). The brackets are the columns in the data source, and the others are plain text.

5. Add the "account number" and "Account name" columns in the data area.

6. Set the group footer to display the number of accounts for each student's selected course.

Drag and drop a label control into the grouped footer bar, and make the related property settings.

Add a total. Right-click Totals, select the New Totals menu, display the Summary Item Editor dialog box, set the formula to count, and choose a print position of GroupFooter1: study number.

Double-click the Label control in the group footer bar to enter the text editor and select the number of lessons: [Total]

7. Finally, the contents and height of each column of the report are set appropriately, then a beautiful report is obtained.

Fastreport.net using: [4] Grouping

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.