>I know - the implicit SKIP creates a whole wealth of potential problems, including the accidental double SKIP, and more, ranging from not being sure exactly where the record pointer is after a new iteration starts, to not knowing if the filter condition broke because of repositioning the recorrd pointer. And probably a few really bizarre ones that I haven't seen
Yup...best to avoid moving the pointer at all..just let SCAN handle it.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer