PRB: SQL Server Stores One-Character String with Empty String (177722)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q177722 SYMPTOMS In Visual Basic 5.0 and higher using ODBC Direct, when a
record is added/edited with a one-character string to a Text field of a SQL
Server table, the one-character string is replaced with an empty string.
RESOLUTION Instead of using AddNew or Edit method, use the SQL
statement INSERT INTO or UPDATE directly. STATUS Microsoft is researching this problem and will post new
information here in the Microsoft Knowledge Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 11/3/2003 |
---|
Keywords: | kbpending kbprb KB177722 |
---|
|