Академический Документы
Профессиональный Документы
Культура Документы
Field
A Field on a report is used to display report data. The fields map to the data source you use with the report, by
specifying a value in the DataField property. Generally, you use Fields within the Body band, but they work in
any band.
Label
Like a Label on a Window or Web Page, a Label on a report displays text. Labels are used for things like report
titles and column headings.
Picture
A Picture is used to display a picture on the report. The picture can be specified when you are designing the
report or it can be specified at run-time using information in your data source.
Date
Used to display the current date when the report is generated.
Page Number
Displays the page number on each page of the report.
If you wanted to display the Teams from the examples that have been previously used for XML, JSON and
1
Printing and Reports
Grouping
Groups are used to display related data together. For example, in the Team and Player examples, there are
two sources of data: teams and players. You could use Grouping on a report to display the teams with each
player on the team listed below the team name and perhaps indented slightly.
To add a group to the report, you click the “Add New Group” button on the toolbar. This creates two new
bands, called GroupHeader1 and GroupFooter1, where you can place additional information. The information
in the Group Header appears once for each group. The information in the Group Footer also appears once for
each group, but is displayed after the information in the Detail band.