ACC97: SQL Memo Fields Truncated to 255 in Update QueryID: Q170218
|
Moderate: Requires basic macro, coding, and interoperability skills.
When you run an update query from Microsoft Access to copy the contents of
one SQL Server Memo field into another SQL Server Memo field, the data in
the new field will be truncated at 255 characters.
This behavior will occur when you add criteria to one of the SQL Server
fields, that field is part of an index, and you are using any of the
following 32-bit ODBC drivers:
Driver Version Source
------------ --------- ---------------------------------------------
SQLSRV32.DLL 2.50.0126 Microsoft Access 7.0
2.65.0201 ODBC Desktop Driver Pack 3.0 (Q139487)
2.65.0213 Microsoft Access 97 (Q159674)
2.65.0240 SQL Server 6.5
For more information about obtaining version 2.65.0201, please see the
following article in the Microsoft Knowledge Base:
For more information about obtaining version 2.65.0213, please see the
following article in the Microsoft Knowledge Base:
Remove the criteria you have set on the indexed field.
Microsoft has confirmed this to be a problem in Microsoft Access 97.
Key ColumnName Datatype Size Nulls Default
---- ----------- -------- ---- ----- -------
Y EmployeeID int 4
LastName char 25
Notes text 16 Y
Notes2 text 16 Y
UPDATE dbo_Test SET dbo_Test.Notes2 = [dbo_test]![notes]
WHERE (((dbo_Test.EmployeeID)=2));
Keywords : kbinterop OdbcSqlms
Version : 97
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: April 19, 1999