ItemByName method: Query Metadata collection

Syntax

ItemByName(Name)

Description

The ItemByName method returns the Query Metadata object with the name Name.

Parameters

Parameter Description

Name

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

Returns

A reference to a Query Metadata object if successful, NULL otherwise.

Example

&MyMetadata = &MyQuery.Metadata.ItemByName("Descr");