Share via


ReportDesign.control Method

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

Syntax

public ReportControl control(TableId tableId, FieldId fieldId)

Run On

Called

Parameters

Return Value

Type: ReportControl Class
The control that is found.

Examples

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

See Also

ReportDesign Class

ReportDesign.controlName Method

ReportSection.control Method