Common Problems in Database Query

  • Last update:May 08, 2025
  • Overview

    Version

    FineReport Version
    11.0

    Application Scenario

    This document describes the common problems and detection steps in database query.

    Garbled Characters on Designer Data Query Page

    Problem:

    All English in the SQL editing area of the database query page is garbled, as shown in the following figure.

     111.png

    Cause:

    As the SQL editing area of the designer is displayed with the specified font by default, garbled characters will be displayed when the specified font is not included in the computer's operating system.

    Solution:

    You are advised to make sure that the specified display fonts in the SQL editing area are installed in your computer's operating system, otherwise, you need to install the appropriate fonts, and restart FineReport.

    1. IOS: The SQL editing area is displayed in any of the three fonts Menlo, Monaco, and Monospaced.

    2. Non-iOS: The SQL editing area is displayed in any of the two fonts Consolas and Monospaced.

    iconNote:
     When the above method does not work, you need to restart the designer after placing fonts under jre/lib/fonts in the designer as well.

    Not found data columnid

    Problem:

    The dataset can be previewed, but there is no data in the template preview.

    Error in the log: Not found data columnid

    Cause:

    When creating a database query, you cannot name the dataset with "." , for example, ds1.1, otherwise no data will be displayed with the error appearing in the log when you preview the template.

    iconNote: 
    No preview failures or errors will occur when you create charts with datasets created by this database query.

    Solution:

    You can solve this problem by renaming the dataset.

    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