set deleted off recall for (your condition here) ?_tally set deleted onYou have to save the value of _tally immediately after Recall, otherwise it will change as soon as you issue any other command which may operate on more than one record (count, delete, replace, update, select, list, copy...).