Usually it is a recordsource problem. Set the recordsource to "" before the requery and after the requery, set the recordsource the the new view.
grid.recorsource=""
requery()
grid.recordsource="someview"
Extreme Programming = Plan -> Design -> Code -> Test