Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ACC2000: IPF in MSADO15.DLL Clicking Apply Filter Button with a Filter in a Data Access Page


View products that this article applies to.

This article was previously published under Q223236
Moderate: Requires basic macro, coding, and interoperability skills.

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

↑ Back to the top


Symptoms

When you use a data access page that has a filter that use Null, you receive the following error message:
This program has performed an illegal operation and will be shut down.

If the problem persists, contact the program vendor.
When you click Details (on Microsoft Windows Millennium Edition, press ALT+D), you receive the following message:
Access caused an invalid page fault in MSADO15.DLL at 015f:1f341e8c.
NOTE: The actual memory address may vary.

↑ Back to the top


Cause

The LIKE operator is not expecting Null as a possible value. It expects only strings. Null is allowed only with the = or <> operators.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in Access.

↑ Back to the top


More information

Steps to Reproduce Behavior

  1. Start Microsoft Access and open the sample database, Northwind.mdb.
  2. In the Database window, click Pages under Objects, and then click Create data access page in Design view.
  3. On the View menu, click Field List.
  4. In the Field List dialog box, click the plus sign next to Tables to expand the list, and then click the plus sign next to Categories.
  5. Under the Categories table, click CategoryID , and then click Add to Page.
  6. On the View menu, click Page View.
  7. Click in the CategoryID box.
  8. Press CTRL+G to open the Immediate Window. Type the following line in the Immediate window, and then press ENTER:
    dataaccesspages(0).Document.msodsc.currentsection.datapage.filter = "CategoryID LIKE NULL"
    					
  9. Press ALT+F11 to toggle back to Microsoft Access.
  10. Click the Apply Filter button on the Navigation Bar.
Note that you receive the error mentioned in the "Symptoms" section of this article.

↑ Back to the top


Keywords: KB223236, kbpending, kbdap, kbbug

↑ Back to the top

Article Info
Article ID : 223236
Revision : 2
Created on : 6/30/2004
Published on : 6/30/2004
Exists online : False
Views : 318