BUG: Parameter Placeholders with Visual FoxPro (VFP) ODBC Driver and Large Tables (275577)
The information in this article applies to:
- Microsoft ODBC Driver for Visual FoxPro (Build 6.00.8281.00) 6.0
- Microsoft ODBC Driver for Visual FoxPro 3.0
- Microsoft ODBC Driver for Visual FoxPro 4.0
- Microsoft ODBC Driver for Visual FoxPro 5.0
This article was previously published under Q275577 SYMPTOMS
If the Visual FoxPro (VFP) ODBC driver is used to write more than 1000 records to a table with more than 64 fields, one of the following errors may occur:
- Fatal Error: Exception code C0000005 (most common).
- System locks up or stops responding (hang).
- Error message: "OLE Exception Error: Exception code C00000005. OLE Object may be corrupt".
- Error message (the variable name will vary): "-2147467259 [Microsoft] [ODBC Visual FoxPro Driver] Variable 'Q876P55' is not found".
CAUSE
This behavior occurs when the table being accessed contains more than 64 columns, and more than 999 records are inserted using parameter placeholders.
RESOLUTION
Avoid the use of parameter placeholders in SQL statements that are passed using SQL Pass Through.
There is presently no resolution for situations that involve remote views of Visual FoxPro tables with more than 64 columns through the Visual FoxPro ODBC driver.
There is currently no resolution for situations that involve ActiveX Data Objects (ADO) recordsets that access Visual FoxPro tables with more than 64 columns through the Visual FoxPro ODBC driver.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCES
(c) Microsoft Corporation 2000, All Rights Reserved. Contributions by John Desch, Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 10/15/2003 |
---|
Keywords: | kbbug kbCodeSnippet kbnofix KB275577 |
---|
|