Microsoft KB Archive/254816

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

Article ID: 254816

Article Last Modified on 6/28/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition
 * Microsoft Data Access Components 2.1 Service Pack 2
 * Microsoft Data Access Components 2.1 Service Pack 1
 * Microsoft Data Access Components 2.1 Service Pack 2
 * Microsoft Data Access Components 2.5

-



This article was previously published under Q254816





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

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



For a Microsoft Access 2002 version of this article, see 294907.



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 records that meet the criteria are returned.



CAUSE
All 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 Jet 4.0 service pack, 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 KB254816

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.