PRJ98: Filter Dialog Box Redisplayed After You Click OK (195350)



The information in this article applies to:

  • Microsoft Project 98 for Windows

This article was previously published under Q195350

SYMPTOMS

In Microsoft Project 98, when you click OK in an interactive filter dialog box, the filter dialog box may be redisplayed.

CAUSE

This behavior occurs when you use the FilterApply method in a Visual Basic procedure to apply an interactive filter, and you assign invalid values to arguments Value1 and Value2 for the type of filter being used.

For example, this behavior would occur if you had a line in your procedure such as:

FilterApply Name:="Task Range...", Highlight:=False, _
Value1:="a", Value2:="b"

The Task Range filter requires integer values, for example, 5 and 10, rather than the text "a" and "b" given in the example.

WORKAROUND

To work around this behavior, use either of the following methods.

Method 1

Edit the FilterApply method in the procedure, and change the values of the arguments Value1 and Value2 (if applicable) for the interactive filter, so that they are correct for the type of filter being applied.

Method 2

When Microsoft Project displays the interactive filter dialog box, manually enter correct values for the filter.

STATUS

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

Modification Type:MajorLast Reviewed:10/17/2002
Keywords:kbbug KB195350