I assume you are doing the following:
SCAN
CREATE CURSOR WITH VARIABLES
WORK WITH CURSOR
RELEASE CURSOR
ENDSCAN
That is the best I can do with the information you supplied. I would create a paramatarized view of the data then perform a simple REQUERY()
CREATE VIEW SomeCursor
SCAN
SCATTER
= REQUERY("Somecursor")
work with somecursor
ENDSCAN