ItemByName method: QueryRecordHierarchy collection

Syntax

ItemByName(Name)

Description

The ItemByName method returns the QueryRecordHierarchy object with the name Name.

Parameters

Parameter Description

Name

Specify the name of an existing QueryRecordHierarchy within the QueryRecordHierarchy collection. If you specify an invalid name, the object is NULL.

Returns

A reference to a QueryRecordHierarchy object if successful, NULL otherwise.

Example

&MyQueryRecordHierarchy = &MyCollection.ItemByName("PHONELIST");