LPARAMETER lcCode, ldDate SELECT entry SET FILTER TO code == lcCode AND date == ldDate * Move the record pointer to "set" the filter LOCATE * Refresh the grid's diaply Thisfrom.Grid1.Refresh()But please read my other reply or else you build a great form that choke and die on you when the data gets larger.