Jaa


ReportDesign.control(Int32, Int32) Method

Definition

Finds a control in the generated design, based on the control's table and dataField properties.

public:
 virtual Dynamics::AX::Application::ReportControl ^ control(int _tableId, int _fieldId);
public virtual Dynamics.AX.Application.ReportControl control (int _tableId, int _fieldId);
abstract member control : int * int -> Dynamics.AX.Application.ReportControl
override this.control : int * int -> Dynamics.AX.Application.ReportControl
Public Overridable Function control (_tableId As Integer, _fieldId As Integer) As ReportControl

Parameters

_tableId
Int32

The dataField property of the control.

_fieldId
Int32

The dataField property of the control.

Returns

The control that is found.

Remarks

The following example demonstrates the control method.

reportDesign rd = ...; 
reportControl rc = rd.control(tablenum(CustGroup), 
    fieldnum(CustGroup, Name));

Applies to