Control display times of data through fields

  • Last update:  2022-01-07
  • I. Overview

    1. Expect effect

    For cargo transportation companies, the database data is as follows. Labels on the outer packaging of the goods need to be made. There are as many labels as there are pieces of goods, and each label indicates the number of goods:

    1.png

    The number of containers is the number of goods. From the above data, it can be seen that the first product has three pieces and needs to be displayed three times, and the second product has four pieces and needs to be displayed four times, as shown in the following figure:

    2.png

    2. Ideas

    Mainly the setting of the left parent grid and the setting of the red area in the picture. The red area can be composed of the Range() function plus the corresponding number.

    II. Examples

    1. Create a embedded dataset

    First, create a embedded dataset similar to the transportation company data. The specific data is as shown in the figure above.


    2. Table design

    Drag the corresponding data column into the corresponding cell as shown in the figure below:

    3.png

    Enter the formula in cell A6: =C1+'/'+B1, which means that the current quantity is the number of the total container quantity.

    Use the condition attribute to hide the row height of cell C1.

    Set the filter condition for cell A2 as follows: Shipment number is equal to cell A1.


    3. Left parent grid setting

    Set the left parent cell of cell A2 to cell C1, and set the left parent cell of A3-C6 to cell A2.


    4. Pagination Preview

    Click on the page to preview the effect as shown above.

    III. Template download

    To view the effect of the template online, please click to Control display times of data through fields.cpt

    The completed template can be found in: %FR_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\ReportApplication\BasicApplication\Control display times of data through fields.cpt

    Click to download the template:  Control display times of data through fields.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