control.findImmediateChildRecordControlByName()
- Last UpdatedJun 25, 2024
- 1 minute read
Use findImmediateChildRecordControlByName() method to find a control with a specific name in the child record (but not its children) of a container.
Here controls is applicable only to containers and its records.
Syntax
control.findImmediateChildRecordControlByName(controlname);
Parameters
|
Parameter |
Description |
|---|---|
|
controlname |
Name of the control to search in the immediate child record but not its children. |
Return Value
This method returns a control object.
Example
// Set a value for the Text control.
control.findImmediateChildRecordControlByName("Employee Name").value = "John Doe";