The information in this article applies to:
SYMPTOMS
When inserting data into a Bit (Yes/No) field in a Microsoft Access database via the Microsoft Access ODBC driver, the resulting data in the bit field is always False, even when a value of True was specified. CAUSEThe Microsoft Access ODBC driver (Odbcjt32.dll) is incorrectly using 2 bytes rather than a single byte when calculating the offset to the data for the bit field. This offset does not contain the correct value, and the data is inserted into the database as False. STATUS
This problem has been resolved in the Microsoft Access ODBC/Jet Driver provided with Microsoft Data Access Components 2.1 Service Pack 2. http://www.microsoft.com/data/download.htmAlternatively, you may acquire the hotfix version of the Microsoft Access ODBC driver that addresses this problem for earlier versions of Microsoft Data Access Components 2.1. A supported fix that corrects this problem is now available from Microsoft, but it has not been fully regression tested and should be applied only to systems experiencing this specific problem. If you are not severely affected by this specific problem, Microsoft recommends that you wait for the next that contains this fix. To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web: http://www.microsoft.com/support/supportnet/overview/overview.asp The English version of this fix should have the following file attributes or later:
This hotfix is engineered to work with Microsoft Data Access Components (MDAC) build 2.1. Installation instructions:
MORE INFORMATIONSteps to Reproduce BehaviorThe code sample below uses RDO to demonstrate the behavior described above. After the code has run, notice that the values in the TrueFalse table have been set to False despite True being specified.
Additional query words: bit field false odbcjt32.dll access insert incorrect MDAC 2.1 Jet
Keywords : kbAccess kbADO201fix kbDatabase kbDriver kbJET kbMDAC kbODBC210fix kbGrpVBDB kbGrpMDAC kbDSupport kbADO210sp2 kbADO210sp2fix |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |