The information in this article applies to:
SYMPTOMSIn Microsoft Query, if you use a dBASE, Microsoft FoxPro, or Microsoft Access data source to create a unique index using an index field that does not contain unique data, the index is created successfully; however, when you close the Create Index dialog box, you receive the following error message: When you receive this error message, any of the following may have occurred:
-or- CAUSEThis behavior occurs because, when you create an index in the process of saving a new table, the index is created before the data is inserted into the table. Because of the order of this process, the data source does not know whether a field is unique or not. It is possible then to create a unique index on a field that is not unique. WORKAROUNDTo avoid these problems, only create a unique index for a table when you are certain that the index field that you select uniquely identifies the records in the database. STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. REFERENCESFor more information about the Create Index Dialog Box, choose the Search button in Help and type: creating indexes Additional query words: 5.00 5.00c err msg
Keywords : xlquery |
Last Reviewed: September 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |