>THERE IS A HUGE GOTCHA WITH THIS "FEATURE"
>
>If, in the course of your scan loop the currently selected alias (not the alias you are SCANning) ends up on EOF(), then, when you hit the END SCAN you will exit the loop even though you are not EOF() on the actual alias you're scanning.
>
>ALWAYS reselect the alias you are scanning before the END SCAN
>
Christian,
Nope, at least not with 6.0 SP4. I ran the following test
lncount = 0
SELECT Test
SCAN
lncount = lncount + 1
SELECT Test2
GO BOTTOM
SKIP
SELECT Test3
ENDSCAN
? lncount
George
Ubi caritas et amor, deus ibi est