ACC2000: Result of the Mid, the Left, or the Right Function in Query Referring to Memo Column Is Incorrect
This article was previously published under Q257414
This article has been archived. It is offered "as is" and will no longer be updated.
Novice: Requires knowledge of the user interface on single-user computers.
This article applies only to a Microsoft Access database (.mdb).
For a Microsoft Access 2002 version of this article, see 291529
When you use the Mid, the Left, or the Right string function in a query to parse a column of data type Memo that contains a string that is longer than 256 characters, the result may be truncated.
Obtain the latest Microsoft Jet 4.0 service pack that contains an updated version of the Microsoft Jet 4.0 database engine.
For additional information about how to obtain the latest version of the Jet 4.0 database engine, click the following article number to view the article in the Microsoft Knowledge Base:
How To: Obtain the Latest Service Pack for the Microsoft Jet 4.0 Database Engine
Microsoft has confirmed this to be a problem in Microsoft Jet version 4.0.2927.4 and earlier.
Steps to Reproduce the Behavior
- Create a new Access 2000 database.
- In the new database, create a table named Test with a single Memo field named Field1.
- Save the table, and then view it in Datasheet view.
- Enter data into the Field1 field, ensuring that in some of the records, the string is longer than 256 characters.
- Create a new query that is based on the table that you created in step 2, and add the Field1 field.
- In the first blank column after the Field1 row, type the following:
- Run the query.
- Note that the data is truncated to the 256th character.
Article ID: 257414 - Last Review: 10/20/2013 18:20:41 - Revision: 3.0
- Microsoft Access 2000 Standard Edition
- kbnosurvey kbarchive kbbug KB257414