BUG: Access Driver DBQ=, DefaultDir= Incorrect with Large mdbLast reviewed: September 9, 1996Article ID: Q153850 |
The information in this article applies to:
SUMMARYIf the path to an mdb file is over 85 bytes, then after a SQLDriverConnect call, the ends of the DBQ= and DefaultDir= strings in the szConnStrOut parameter will be overwritten.
MORE INFORMATIONIf you have an mdb file in a deeply nested directory whose path exceeds 85 bytes, such as the following:
c:\nested01\nested02\nested03\nested04\nested05\nested06\nested07\nested 08\nested09\general.mdband if you create a data source on it, then, after a SQLDriverConnect using that data source, the szConnStrOut variable will have two problems:
DefaultDir STATUSMicrosoft has confirmed this to be a problem in the ODBC Access 3.40.2505 driver. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
WORKAROUNDTo work around this problem, move the mdb file to a directory that has a shorter path name.
|
Additional reference words: 3.40.2505
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |