ACC1x: Microsoft Access Can't Recognize SQL Server Double Index

Last reviewed: May 28, 1997
Article ID: Q93925
The information in this article applies to:
  • Microsoft Access version 1.0

SYMPTOMS

Microsoft Access does not recognize a SQL Server table index if the index has a DOUBLE data type.

STATUS

This problem does not occur in Microsoft Access version 1.1.

MORE INFORMATION

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
Hardware : X86
Issue type : kbprb
Resolution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 28, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.