Smart-Adding a Cell Group

  • Last update:March 20, 2024
  • Overview

    Application Scenario

    When designing data entry tables, you may fill in data in the same column (composed of multiple fixed cells) such as Opening Balance and Ending Balance in the following figure, rather than expand cells by dragging dataset fields into the table.

     1.png

    In this case, you can bind cells (in which the same field needs to be filled in) together through the Smart Add Cell Group function and then submit data.

     2.png

    Function Description

    You can bind multiple cells (namely the cell group) to a single data table field in a built-in SQL database of FineReport. The cell group will be split into multiple built-in SQL databases when you submit data. The following figure shows how to use the Smart Add Cell Group function. You can select multiple consecutive cells by dragging the cursor. Alternatively, you can select non-consecutive cells by clicking them separately.

     3.gif

    iconNote:
    When you bind multiple cells through the Smart Add Cell Group function, data in the to-be-bound cells cannot be expanded.

    Example

    Data Preparation

    Create a data query dataset named ds1 and enter the SQL statement SELECT * FROM SubjectBalance. Click the Preview icon, as shown in the following figure.

     4.png

    Table Design

    Enter the first eight subject codes and accounting subjects in the dataset into cells and add text widgets for cells in Opening Balance and Ending Balance for data entry, as shown in the following figure.

     5.png

    Data Entry Attribute Setting

    Add four fields in the dataset and add cell groups, as shown in the following figure.

     6.png

    Effect Display

    Save the report and click Data Entry Preview. Enter the opening balances and ending balances of the first four data records, as shown in the following figure.

     7.png

    After successful submission, you can view that the first four data records in the database table have been changed, as shown in the following figure.

     8.png

    You can perform data entry on mobile terminals, as shown in the following figure.

     9.png

    Template Download

    You can download the example template Smart Add Cell Group.cpt.

    Notes

    The number of bound cells must be consistent in all fields with set cell groups. The following situation is not allowed.

     10.png

    If the number of bound cells is inconsistent, the following prompt will occur.

    1710319796186450.png

    Attachment List


    Theme: Data Entry
    • Helpful
    • Not helpful
    • Only read

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

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

    不再提示

    9s后關閉

    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