Item method: QueryCriteria collection

Syntax

Item(number)

Description

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

Parameters

Parameter Description

Number

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

Returns

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

Example

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