## Developing reports from queries

JReport Designer helps you build various professional reports based on queries. When building reports on queries, you can place certain criteria or restrictions on the data in order to extract only the required data from the database.

Note that sometimes after you have designed a report, you may want to use another query to run it. Instead of building another report from scratch, JReport Designer allows you to change the query name directly in the Report Inspector. In which case, you should make sure that the new query uses the same tables as the original one. You are not recommended to use this method until you are familiar with JReport Designer.

To develop a report from a query:

1. Make sure the catalog where the query locates is opened, then click the New Report Set button on the Standard toolbar.
2. In the New Report set dialog, specify the title and layout of the first report in the report set as required, then click OK.
3. In the Data screen of the report wizard, choose the query with which you want to build the report.
4. Follow the report wizard to create the report.

See also Creating a report for details about how to create reports in JReport Designer.