>>>>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.
>>>
>>>I prefer Set Filter to !inactive
>>
>>.NOT.INACTIVE, if normality is what you want.
>
>Actually, I would prefer to call the field Active..
Ah! Too late the hero (awesome movie). (meant for me not you, I just replied to your first post without reading this one)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges