This property retrieves an InfoObject given an Index. Read
Property Item( [Index]) As InfoObject
Index of the InfoObject to be retrieved. Index can be an ordinal position, ID,
name, or object reference. If it is an ID, then the number sign (#) needs to be
prefixed to it so that it is not treated as an array index. For example:
Object.Item("#" + ObjectID)
. The index is one
The Item property can be used, in conjunction with the Count property, to enumerate through all the items in the collection.
Note: The collection is indexed from one. That is, the index of the first item in the collection is one, and not zero.
This is the InfoObjects collection's default property. For tips on how to use default properties to reduce the amount of code you need to write, see Using default properties.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |