SELECT * FROM Table WHERE <condition> INTO CURSOR GridSource
SELECT Table SET FILTER TO <condition> LOCATE && Puts the filter into effect