FIX: TABLEUPDATE() Fails in Remote View With Empty Memo Field (191522)
The information in this article applies to:
- Microsoft ODBC Driver for Visual FoxPro 3.0
- Microsoft ODBC Driver for Visual FoxPro 5.0
- Microsoft Data Access Components 2.5
This article was previously published under Q191522 SYMPTOMS
You have a remote view to a Visual FoxPro table using the Visual FoxPro
ODBC driver. When you attempt to issue a TABLEUPDATE() after replacing a
memo field value with an empty string (""), the TABLEUPDATE() fails with
the following error:
Connectivity error: [Microsoft][ODBC Visual FoxPro
Driver]Invalid string or buffer length.
NOTE: This may also happen connecting through the Visual FoxPro ODBC driver
from other clients such as MSQuery.
RESOLUTION
As a workaround, you can set the field to accept NULL values and replace
the field value with NULL rather than "".
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been corrected in Visual
FoxPro 6.0.
REFERENCES
Visual FoxPro Help; search on: "DECLARE - DLL"; "CREATE TABLE - SQL"; "SET
NULLDISPLAY"
(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Jim
Saunders, Microsoft Corporation
Modification Type: | Minor | Last Reviewed: | 3/2/2005 |
---|
Keywords: | kbbug kbcode kbfix KB191522 kbAudDeveloper |
---|
|