ACC1x: Microsoft Access Can't Recognize SQL Server Double IndexLast reviewed: May 28, 1997Article ID: Q93925 |
The information in this article applies to:
SYMPTOMSMicrosoft Access does not recognize a SQL Server table index if the index has a DOUBLE data type.
STATUSThis problem does not occur in Microsoft Access version 1.1.
MORE INFORMATIONMicrosoft Access requires a unique index on any SQL Server table for updates (editing), and it cannot use the data type DOUBLE as a unique index. After reading the DOUBLE index value on the server, Microsoft Access converts the value from binary to decimal and back to binary, causing rounding errors, before storing it in a Microsoft Access virtual table (VT). The same conversion process occurs when Microsoft Access sends the value back to the server for an update. Microsoft Access uses the index value to find the row in the table where the update is needed. Because of the rounding errors, Microsoft Access cannot find the correct row to make the update, so the update fails. Because updates cannot be made on this type of index, even though it may be unique, Microsoft Access ignores the index. |
Keywords : kbusage OdbcOthr
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |