>Hi Cetin,
>
>I actually do not use SET FILTER a lot anymore. Used in an older class mostly which I am now making some small performance changes to.
>
>When I did use SET FILTER, it was to basically skip some records. In the one case, the grid would show all the contacts for a company and then the user had a checkbox where they could "hide inactive contacts" (which was a flag field). When they checked the checkbox, the code would set the filter to:
>
>SET FILTER TO Inactive = .F.
Good case to show why checking the normalize()d version of an expression is mostly pointless. Your framework may be setting it like this (normalized into INACTIVE=.F.) and you may be expecting .NOT.INACTIVE and it would never match. Because anything worth doing can be done at least three ways in VFP.