官术网_书友最值得收藏!

Summary

In this chapter, we created our first report by following a series of steps that we listed and explained in detail.

We created a Table type data set and configured its data manually. We defined three columns: Zones, Products, and Quantity. We specified the type of data that each would contain (String, Integer, and so on). Then we populated the table with the example data.

We configured the Report Header and Details Header report sections, adding labels and a horizontal line. Also, we configured the characteristics of these insertable objects.

In the Details section, we added the fields from the table we created initially.

We created and added various functions to the report. We created and added RowBanding to alternately color the data in the Details section, and in the Details Footer section, we added Count (Running) and Sum (Running) to count and sum up respectively.

To add a personal touch, in the Page Header section we added an image of our liking.

We saw how useful the preview option is to see what the report we are designing looks like.

We also saw how PRD exports the report in diverse formats: PDF, HTML, and Excel/Excel 2007. We also showed screenshots of these different formats. Finally in the Time for action sections, we proposed that you make some modifications to the recently created report. Among them, we added a new column to our data sets and created a function of the type Average (Running). In the next chapter, we will explain how to create/edit JDBC-type data sets and how to create a JDBC connection to our Sakila database with its corresponding SQL query.

主站蜘蛛池模板: 万荣县| 遂溪县| 庆元县| 九江市| 察哈| 宽甸| 武穴市| 龙井市| 合肥市| 融水| 威海市| 太原市| 清镇市| 昌邑市| 永清县| 老河口市| 房山区| 临沧市| 包头市| 正镶白旗| 三原县| 和龙市| 县级市| 凤台县| 安陆市| 宕昌县| 游戏| 台中县| 新郑市| 府谷县| 合作市| 枣强县| 垦利县| 德江县| 新源县| 安吉县| 同江市| 枣强县| 五指山市| 吴江市| 普陀区|