ReportSection.addControl Method [AX 2012]

Adds a report control to a report section.

public ReportControl addControl(
    TableId tableId, 
    FieldId fieldId, 
   [int arrayIndex])

Run On

Called

Parameters

tableId
Type: TableId Extended Data Type
The table ID.
fieldId
Type: FieldId Extended Data Type
The field ID.
arrayIndex
Type: int

Return Value

Type: ReportControl Class
The report control that is created.

This method adds the specified type of control, such as string, enumeration, integer, real, or date, depending on the type of the field that is specified by the arguments.

Community Additions

ADD
Show: