DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 291529 - Last Review: August 11, 2004 - Revision: 5.0

This article was previously published under Q291529
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 2000 version of this article, see 257414  (http://support.microsoft.com/kb/257414/EN-US/ ) .

On This Page

SYMPTOMS

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.

RESOLUTION

This problem has been fixed in the latest edition of the Jet Service Pack. 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:
239114  (http://support.microsoft.com/kb/239114/ ) How to obtain the latest service pack for the Microsoft Jet 4.0 Database Engine

STATUS

Microsoft has confirmed this to be a problem in Microsoft Jet version 4.0.2927.4 and earlier.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. Create a new Access 2002 database.
  2. In the new database, create a table named Test that has a single Memo field named Field1.
  3. Save the table, and then view it in Datasheet view.
  4. Enter data into the Field1 field, ensuring that in some of the records, the string is longer than 256 characters.
  5. Create a new query that is based on the table that you created in step 2, and then add the Field1 field.
  6. In the first blank column after the Field1 row, type the following:
    Expr1: Mid([Field1],1,Len([Field1]))
  7. Run the query.
  8. Note that the data is truncated to the 256th character.

APPLIES TO
  • Microsoft Access 2002 Standard Edition
Keywords: 
kbquery KB291529
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support