Index Property

Returns the index of the current object in its collection.

object.Index as Integer

Use

Column object

Returns the index of the current Column in the Columns Collection.

Tab Page control

Returns the index of the current TabPage in the TabPages Collection.

SmartNav control

Returns the index of the current SmartNav group in the SmartNav Groups Collection.

Recordset object

Sets or returns the name of the current index for a Recordset. This property is only available when the Server property for the corresponding Connection object is set to DBServerADO.

The index named by the Index property must have previously been declared on the base table underlying the Recordset object when the base table was created.

The Index property cannot be set if a filter has been set on the Recordset with the Filter property. If the index can be set, the current row position may change.

When used with the Recordset object, the Index property is used in conjunction with the DBSeek action. If the underlying provider does not support the DBSeek action, consider using the DBFind action instead.

See Also

Count property

Applies To

Recordset object

TabPage object

Column object

SmartNav Group object


© 2004-2021 looksoftware. All rights reserved.