Item method: QueryPrompt collection

Syntax

Item(number)

Description

The Item method returns the QueryPrompt object that exists at the number position in the QueryPrompt collection.

Parameters

Parameter Description

Number

Specify the position number in the collection of the QueryPrompt object that you want returned.

Returns

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

Example

For &I = 1 to &QueryPromptColl.Count; 
   &MyQueryPrompt = &QueryPromptColl.Item(&I); 
   /* do processing */ 
End-For;