Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds a report section to a design.
Syntax
public ReportSection addSection(
ReportBlockType sectionType,
[TableId tableId,
FieldId fieldId])
Run On
Called
Parameters
- sectionType
Type: ReportBlockType Enumeration
The section type.
- tableId
Type: TableId Extended Data Type
If the sectionType parameter is set to Header, Body, or Footer, the table property of the section group that the section belongs to; optional.
- fieldId
Type: FieldId Extended Data Type
If the sectionType parameter is set to Header, Body, or Footer, the dataField property of the section group that the section belongs to; optional.
Return Value
Type: ReportSection Class
The section that is created.
Remarks
This method creates a generated design if it does not already exist. If the sectionType parameter is set to Header, Body, or Footer, this method creates a section group if it does not already exist.