FieldByName Method
The FieldByName method finds a field object that matches a specified name.
This method has the following syntax:
fieldobject = CompositeField.FieldByName(name = varchar(256))
This method has the following parameter:
name
Specifies the field name. The name parameter must not use dot notation.
This method checks through the list of fields contained within the composite field to find a field with a name that matches the name you specify. If no field has a matching name, the method returns null. For table fields, you can use this method to find column fields.
If you want to find the field objects for the child fields of a frame's form, use the FieldByName method (see
FieldByName Method) defined for the FrameExec object.