ACC1x: Microsoft Access Can't Recognize SQL Server Double IndexID: Q93925
|
Microsoft Access does not recognize a SQL Server table index if the index has a DOUBLE data type.
This problem does not occur in Microsoft Access version 1.1.
Microsoft 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
Version : 1.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: March 13, 1999