ItemByNameAndAlias method: QueryField collection
Syntax
ItemByNameAndAlias(Name, RecordAlias)
Description
The ItemByNameAndAlias method returns the QueryField object with the given Name and Record Alias.
Parameters
| Parameter | Description |
|---|---|
|
Name |
Specify the name of an existing QueryField within the QueryField collection. If you specify an invalid name, the object is NULL. |
|
RecordAlias |
Alias of the record to which the field belongs |
Returns
A reference to a QueryField object if successful, NULL otherwise.
Example
&MyQueryField = &MyCollection.ItemByNameAndAlias("PHONELIST", "A");