Microsoft KB Archive/221655

= FIX: FFCs - Set Filter Dialog Does Not Show Current Filters =

Article ID: 221655

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q221655



SYMPTOMS
The Set Filter dialog in the _filterexpr class of _table.vcx class library does not show current filters. The filters information gets erased when the Set Filter dialog is closed or released.



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

This bug was corrected in Visual Studio 6.0 Service Pack 3.

For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed



Steps to Reproduce Behavior
 Create a form. Add the customer table to the data environment of the form. Add a command button to the form. Change the command button caption to Filter.  In the Click event of the command button, place the following code: ox=NEWOBJECT("_filterexpr","c:\program files\Microsoft Visual Studio\VFP98\ffc\_table.vcx") ox.Show  If the path to the Class library is different from what is listed here, you need to change it to the appropriate path.</li> Save and run the form.</li> Click on the command button.</li> In the Set Filter dialog box, click the Build Expression button.</li> In the Filter Conditions dialog box, type ALFKI in the text box next to the "equal" sign. Then click the Add button.</li> Click OK to exit from the Filter Conditions dialog box and back to the Set Filter dialog box.</li> In the Set Filter dialog box, click the Apply button.</li> Now, click the Filter button in the main form again. The edit box in the Set Filter dialog is empty.</li></ol>

Keywords: kbbug kbfix kbffc kbvs600sp3fix KB221655

-

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

© Microsoft Corporation. All rights reserved.