Built-in Dataset

  • Last update:July 19, 2024
  • Overview

    Application Scenario

    Built-in dataset refers to creating an original table that is similar to a database table and can serve as a template data source for designing reports.

    If you create a template by querying a database on one machine, copying that template to another machine requires the corresponding connection, without which the template cannot be accessed. At this point, you can directly define the dataset of this template as a built-in dataset, or export the template on the machine where you created it as a built-in dataset template. In this case, the template can be accessed on any computer.

    This function can help you easily perform functional testing or send templates to FanRuan's technical support for debugging and error corrections.

    Function Description

    You can create a Built-in Dataset in two methods.

    1. Exporting as a built-in dataset template: You can directly export a template as a template (built-in data), which means all data used in the template will be automatically changed to the built-in data.

    2. Defining a built-in dataset: You can manually input data into a built-in dataset and use the dataset to create templates.

    Since directly defining a Built-in Dataset requires manually inputting data, which can be cumbersome, you are advised to take the first method. For details, see section "Exporting as Template (Built-in Data)."

    Exporting as Template (Built-in Data)

    This document takes the demo template Fuzzy Query as an example. The template datasets ds1 and ds2 are from database queries.

    1. Choose File > Export > Template (Built-in Data), as shown in the following figure.

    91204793122951f357646a5bd7a3c6e.png

    2. Rename the file name and save it, as shown in the following figure.

    iconNote:
    The built-in dataset cannot be automatically restored to the template dataset. Therefore, to avoid overwriting, the name of the to-be-exported template should not be the same as that of the original one.

    a0aee13603ff9b0eab3d19546ff13f5.png

    You can open the 123.cpt after performing a refresh. The dataset used in the template has become the built-in dataset.

    84fac8b9e4063394b0986dfa64dd036.png

    Defining Built-in Dataset

    1. Click the addition icon and select Built-in Dataset from the drop-down list, as shown in the following figure.

    c9f6427d342bad3d8582d4fa5238bb4.png

    2. Add columns and set column names and field types on the built-in dataset setting page.

    iconNote:
    Since directly defining a Built-in Dataset requires manually inputting data, which can be cumbersome, you are not advised to take this method. You can take the method described in section "Exporting as Template (Built-in Data)" to directly export the template as the built-in dataset.

    b98ff88eca00770f9344e45dd113e6c.png

    3. Input the specific data and rename the table Product Sales Information after setting the columns.

    c651c2d4d0ac8a1e08d65f8f544d5c4.png

    After completion, a dataset named Product Sales Information is added to the template dataset, as shown in the following figure.

    019b49649343d6ba851ce3e1d3e2882.png

    Attachment List


    Theme: Data Preparation
    • 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