ItemByName method: QueryPrompt collection

Syntax

ItemByName(Name)

Description

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

Parameters

Parameter Description

Name

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

Returns

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

Example

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