QueryRecord Class Method
In this section, we discuss the GetField method.
Syntax
GetField(Index)
Description
The GetField method returns the QueryField object specified by index from the QueryRecord collection.
Parameters
Parameter |
Description |
---|---|
Index |
Specify the number of the field to be accessed. |
Returns
A reference to a QueryField object if successful, NULL otherwise.
Example
&QryFieldColl = &QryRec.QueryFields;
For &I = 1 to &QryFieldColl.Count
&QryField = &QryRec.GetField(&I);
/* do processing */
End-For;