Detail Band

Detail Band

Detail Band

The Detail band is the central part of a report.

Unlike other bands, it cannot be deleted - the present report structure includes the Detail band in its core.

In a data-bound report, the contents of the Detail band are repeated for every data entry (e.g. if you are building a report that lists, say, products, it will be rendered for each product in the database). And, if static data is also present in the Detail band, in the resulting report, it is repeated with each new entry.

In the Property Grid, the Detail Band's properties are divided into the following groups.

Property

Function

Appearance

 

Background colour

Specifies the background colour for the controls contained within the band.

Borders, Border colour and Border Width

Specify border settings for the controls contained within the band.

Font

Specifies the font settings for the controls contained within the band.

Foreground colour

Specifies the text colour for the controls contained within the band.

Formatting Rules

Invokes the Formatting Rules Editor allowing you to choose which rules should be applied to the band during report generation, and define the precedence of the applied rules. To learn more on this, refer to Conditionally Change a Control's Appearance.

Padding

Specifies indent values which are used to render the contents of the controls contained within the band.

Style Priority

Allows you to define the priority of various style elements (such as background colour, border colour, etc.). For more information on style inheritance, refer to Understanding Style Concepts.

Styles

This property allows you to define odd and even styles for the controls contained within the band, as well as to assign an existing style to them (or a newly created one). For more information on style inheritance, refer to Understanding Style Concepts.

Text Alignment

Allows you to change the text alignment of the controls contained within the band.

 

 

Behaviour

 

Keep Together

As stated above, the detail band is printed repeatedly for every data entry. When the Keep Together option is on, the report engine tries to keep sequential detail band entries together. This option makes sense only when data is grouped or you are working with a master-detail report. In this case, the report engine tries to keep group contents on one page. If a group does not fit and it starts somewhere in the middle of a page, the report moves this group to a new page, thus trying to reduce the number of page breaks in continuous data.

Multi-Column Options

This property allows you to arrange the printout of the band's content in several columns. For more information, refer to Multi-Column Report.

Page Break

Use this property if the current report design requires that the detail section should be separated from previous sections or follow-ups. Specify the Before the Band or After the Band values to insert a page break before or after the current band. In many cases, this property may be used instead of the Page Break control.

Scripts

This property contains events, which you can handle by the required scripts. For more information on scripting, refer to Handle Events via Scripts.

Visible

Specifies whether the band should be visible in print preview.

 

 

Data

 

Sort Fields

Invokes the Group Field Collection Editor, which enables you to specify the fields for sorting the records within the band, the sorting order (Ascending/Descending) for each field and the order sequence. For more information, refer to Change or Apply Data Sorting to a Report.

Tag

This property allows you to add some additional information to the band; for example its id, by which it can then be accessible via scripts.

 

 

Design

 

Name

Determines a band's name, by which it can be accessed in the Report Explorer, Property Grid or via scripts.

 

 

Layout

 

Height

Specifies the band's height, in report measurement units.

Snap Line Padding

Specifies the padding (in report measurement units), which is to be preserved within the band when controls it contains are aligned using Snap Lines.

 

 

Misc

 

Keep Together with Detail Reports

When this option is on, the Detail Band will be always printed on the same page together with its child Detail Report Band, or multiple bands.

 

See also:

  • Property Grid
  • Report Designer Bands
    • Related Articles

    • Detail Report Band for Master Detail Reports

      The Detail Report Band for Master-Detail Reports is a type of band used to incorporate one report into another. It is quite different from the Detail band, since it holds the whole detail report in a master-detail report layout, and therefore can ...
    • Report Designer Bands

      Reports built using DataSight 's Report Designer follow a conventional banded report design advocated by Microsoft® and adopted by many other report engines. As opposed to "What you see is what you get" WYSIWYG reports in which a designed report is ...
    • Grouping Bands

      The Group Header and Group Footer bands are shown above and below each group. Usually, you do not need to manually manage these bands, as they are auto-created via the Group and Sort Panel. For more information, refer to Change or Apply Data Grouping ...
    • Graphical Report with Multiple Sites

      In DataSight Version 3.2 and earlier, the built in reporting tool required a small amount of script to activate multiple graphing features. This topic provides the script and the information of how to implement the script in a Multi-graph report. ...
    • Report Designer Settings

      This document details settings that affect the entire report. A Report is the main object in the Report Designer, as it's the document being edited. While the main report's properties can be accessed via the report's Smart Tag, the complete settings ...