The information in this article applies to:
SUMMARYPage 279 of the "Language Reference" discusses the Index Property (Data Access). It has some incorrect and misleading information. This article is a revised and corrected version of the entire Index Property (Data Access) section. Please replace page 279 with this article. MORE INFORMATION
Index Property (Data Access)
Table objectDescription With data access, the Index property determines which existing index is the current index used to sort records in a Table and in recordsets created from that Table. The default is blank. The Index property is not available at design time and is available read/write at run time.Syntax table.Index [ = indexname ]Remarks The order of the data in a table is determined by the order in which the data is added to the table. To alter the order of records fetched from the table when using a Table object, set the Index property to the name of an index in the Indexes collection of the Table's TableDef object. For example, to set the index to be used on a Seek against the Titles table:Data TypeThe specified index must already be defined. If you set the Index property to an index that doesn't exist, or if the index isn't set when you use the Seek method, an error occurs. String Additional query words: 3.00 docerr
Keywords : |
Last Reviewed: January 13, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |