Microsoft KB Archive/294907

From BetaArchive Wiki
Knowledge Base


ACC2002: Like "String*" Criteria Is Incorrect on Indexed (Duplicates OK) Fields That Have DBCS Characters

Article ID: 294907

Article Last Modified on 11/17/2003



APPLIES TO

  • Microsoft Access 2002 Standard Edition
  • Microsoft Data Access Components 2.5



This article was previously published under Q294907

Moderate: Requires basic macro, coding, and interoperability skills.

This article applies only to a Microsoft Access database (.mdb).

For a Microsoft Access 2000 version of this article, see 254816.


SYMPTOMS

When you use a LIKE clause on a column in a query, and the column has Double-Byte Character Set (DBCS) characters, not all the records that meet the criteria are returned.

CAUSE

All the records meeting the criteria may not be returned if the following conditions are true:

  • The database consists of DBCS data, such as Korean or Chinese.
  • The column is indexed.
  • Alphanumeric characters are the leading characters in the string.


RESOLUTION

Obtain Microsoft Jet 4.0 Service Pack 4 (SP4) or later, which 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:

239114 How To: Obtain the Latest Service Pack for the Microsoft Jet 4.0 Database Engine


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.


Additional query words: pra

Keywords: kbbug kbfix KB294907