Help and Support
 

powered byLive Search

Filters for blanks and nonblanks are replicated in the filter criteria list in Word

Article ID:286880
Last Review:January 29, 2007
Revision:2.2
This article was previously published under Q286880

SYMPTOMS

When you filter a column for blanks or non-blanks in the Mail Merge Recipients dialog box, the filter criteria is duplicated each time you re-open the dialog box. When more than half the filter criteria list is full of either "Is blank" or "Is not blank" criteria, and you open the Mail Merge Recipients dialog box one more time, the whole list is cleared, leaving no filters applied.

Back to the top

CAUSE

The SQL string for the expression "MyField Is blank" is:
(MyField IS NULL) OR (MyField IS '')
When this SQL string is parsed, two entries are passed to the Office DataSource Object (ODSO), which produces two "is blank" entries in the query criteria list. The same is true for the "MyField Is not blank" expression, except in the negative.

Back to the top

WORKAROUND

To clear the filter criteria, follow these steps:
1.On the Mail Merge task bar, click Edit recipient list.
2.Click the down arrow to the left of any column header, and then click Advanced.
3.In the Filter and Sort dialog box, on the Filter Records tab, click Clear All, and then click OK. All filters are now removed.

Back to the top

STATUS

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

Back to the top

MORE INFORMATION

For more information about sorting and filtering data in a mail merge operation, click Microsoft Word Help on the Help menu, type Select recipients to include in a mail merge in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

Back to the top


APPLIES TO
Microsoft Word 2002 Standard Edition
Microsoft Office Word 2003

Back to the top

Keywords: 
kbbug kbpending KB286880

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.