ACC: How to Index an Existing Field with DAO (95/97)Last reviewed: August 28, 1997Article ID: Q141612 |
The information in this article applies to:
SUMMARYModerate: Requires basic macro, coding, and interoperability skills. This article demonstrates how you can create a compound (multiple-field) index in an existing table using data access objects (DAO). This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to your version of the "Building Applications with Microsoft Access" manual.
MORE INFORMATIONAn Index object contains the fields that are being indexed and usually contains only a single field. The Index object created in the following example has two fields appended to it, creating a multiple-field index.
REFERENCESFor more information about TableDefs, search for "DAO collections," and then "TableDefs" using the Microsoft Access Help Index. For more information about Indexes, search for "indexes," and then "creating" using the Microsoft Access Help Index. For information about how to index an existing field in Microsoft Access 2.0, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q112107 TITLE : ACC2: How to Index an Existing Field with DAO Keywords : kbprg PgmHowTo MdlDao Version : 7.0 97 Platform : WINDOWS Hardware : x86 Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |