Item

Description

Returns the specified item in the QueryFieldDefs collection.

The argument to this method can be either a numeric index (itemNum) or a String (name):

Syntax

VBScript

queryfielddefs.Item item

Perl

$queryfielddefs->Item(itemNum);
$queryfielddefs->ItemByName(itemName);
Identifier
Description
queryfielddefs
A QueryFieldDefs collection object, representing the set of QueryFieldDef objects available for fetching as a collection.
item
(VB only) A Variant containing either an numeric index (item number) or a BSTR name (item name).
itemNum
(Perl only) A Long that serves as an index into the collection. This index is 0-based so the first item in the collection is numbered 0, not 1.
itemName
(Perl only) A String that serves as a key into the collection.
Return value
The QueryFieldDef object at the specified location in the collection.

Feedback