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
- tableId
Type: TableId Extended Data Type
The table property of the control.
- fieldId
Type: FieldId Extended Data Type
The dataField property of the control.
Return Value
Type: ReportControl Class
The control that is found.
Examples
reportDesign rd = ...;
reportControl rc = rd.control(tablenum(CustGroup),
fieldnum(CustGroup, Name));