Tips for using ireport

Source: Internet
Author: User

Tips for using ireport

Connect to database

Switch the browser

Make PDF support Chinese


Connect to database


Select connection/Data sources


Click "new ".


Select "database JDBC connection" and click "next>"


Enter related data and click test.

5. Open the report to connect to the database,

Click "set active connection"

6. Select the data source to connect

Click "OK"

7. Execute the SQL statement to query the data in the table.

Click "REPORT query"

8. Enter an SQL statement for query.

9. In

In the view, expand fields, select the fields for the report, and drag them to the report.

Switch the browser

Options -- settings


Compile and select the running type.

Make PDF support Chinese

1. Download related jar files from the website


2. Put the downloaded JAR file in the lib directory.

3. Right-click the space to display Chinese characters and select Properties

4. Set attributes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.