Instead of using SET FILTER you could also use SET KEY to filter data in the grid. This, however, only works when you don't need to sort data. In VFP, the Optimize property is a better solution providing that you don't edit in the grid directly.
--
Christof