Item method: QueryRecord collection

Syntax

Item(number)

Description

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

Parameters

Parameter Description

Number

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

Returns

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

Example

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