Free Report

  • Last update:November 07, 2024
  • Overview

    Application Scenario

    If data specified by all fields in a data table is displayed in one row of a report, the report looks very crowded. In this case, you can use a free report to display data with better appearance and readability.

    Function Description

    Through a free report, you can distribute a single record data into multiple rows by section or page, rather than displaying it in the same row.

    For example, you can display the data of the same order across multiple rows in the same table block and extend the table blocks vertically for different orders, as shown in the following figure.

    2024-06-17_11-13-05.png

    Example

    Data Preparation

    Create a dataset ds1, and write the SQL query statement SELECT * FROM Orders in the database query dialog box to extract all data from the Orders table, as shown in the following table.

    2024-06-17_10-37-25.png

    Report Design

    1. According to the instructions in the following table, set the style for Order Statistics Table.

    CellOperation

    A1 to D2

    Merge cells A1 to D2 and enter the title Order Statistics Table. Set the font size to 12, and center the text in bold.

    A3, A4, C4, A5, C5, A6, A7, and C7

    Enter the following field titles in order: Order ID, Order Date, Shipping Date, Customer ID, Customer Name, Address, Delivery Date, and Amount Payable. Align the text to the left.

    B3 to D3, B4, D4, B5, D5, B6 to D6, B7, and D7

    Merge cells B3 to D3 and B6 to D6 respectively, add black bottom borders to blank cells, and align the text to the left.

    The following figure shows the method to add a black bottom border to a cell.

    2024-06-17_10-38-04.png

    iconNote:

    Different browsers may have different display effects for the bottom border due to different modes.

    In the compatibility mode, browsers such as Firefox, 360, CM, and Sogou display the preview normally.

    In the speed mode, browsers like Google Chrome, 360, CM, and Sogou may show a bottom border under the Customer Name field.

    The following figure shows the designed style for Order Statistics Table.

    2024-06-17_10-42-15.png

    2. Drag the relevant data columns from the dataset into cells B3, B4, B5, B6, B7, D4, D5, and D7 according to the field titles, as shown in the following figure.

    2024-06-17_10-43-16.png

    3. Select cells B4, D4, and B7 respectively, and choose Cell Element > Format on the right property panel. Set Format to Date and select yyyy-MM-ddas shown in the following figure.

    2024-06-17_10-45-08.png

    4. Select cell D7, choose Cell Element > Format in the right property panel, set Format to Number, and select #0.00 to round the number to two decimal places, as shown in the following figure.

    2024-06-17_10-49-51.png

    Setting Parent Cells

    Select cells A1, A3, and A4 to D7. On the right property panel, choose Cell Attribute > Expansion, set Expansion Direction to Vertical, and set Left Parent Cell to B3, as shown in the following figure.

    2024-06-17_10-54-05.png

    Effect Display

    PC

    Save the template and click Pagination PreviewThe effect is the same as that shown in section "Function Description."

    Mobile terminal

    The preview effects on the DataAnalyst app and the HTML5 terminal are the same, as shown in the following figure.

    IMG_8353.PNG


    Example

    Pagination Setting

    If you want an order to be displayed on one page during practical usage, you can select the 7th row, choose Cell Attribute > Others, and tick Pagination After Row, as shown in the following figure.

    2024-06-17_11-08-00.png

    Effect Display

    PC

    Save the template and click Pagination Preview. The following figure shows the preview effect.

    2024-06-17_11-17-07.png

    Mobile Terminal

    The preview effects on the DataAnalyst app and the HTML5 terminal are the same, as shown in the following figure.

    IMG_8354.jpg

    Completed Template

    You can download the example template: Free Report.cpt

    Attachment List


    Theme: Report Application
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy