Microsoft KB Archive/208938

= ACC2000: The Replace Command Does Not Find Null Values =

Article ID: 208938

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q208938



Novice: Requires knowledge of the user interface on single-user computers.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).



SYMPTOMS
When you click the Replace command on the Edit menu, Microsoft Access does not locate any Null values even though they do exist in the table.



RESOLUTION
To replace Null values in a table, create and run an Update query.



MORE INFORMATION
If you click Find on the Edit menu to search for Null values, the values are located correctly. It is only the Replace command that does not locate Null values.

Steps to Reproduce Behavior
 Start Microsoft Access and open the sample database Northwind.mdb or the sample project NorthwindCS.adp. In the Database window, click Tables under Objects, click Orders, and then click Open. Position the insertion point in the first row of the Ship Region column. On the Edit menu, click Replace. In the Find What box, type NULL . In the Replace With box, type TEST .</li> Click Find Next. Note that Microsoft Access indicates the next record in which there is a Null value in the Ship Region column.</li> Click Replace. Note that Microsoft Access does not locate any Null values in the table even though such values do exist. Instead you receive the following message:

Microsoft Access can't find the text you specified in the Find What box.

</li></ol>

<div class="references_section">