>Ok, this is Foxpro 101, but if I'm in a SCAN and I issue the SKIP command is there another way other than putting in a conditional IF to check for EOF at every SKIP? I have FOR !EOF() on a DO WHILE, but after the ENDWHILE I do a SKIP and it barks at me when I hit the EOF. The quickest answer gets the prize as I'm trying to go home and I can't until I get through this scan logic...
>
>Update: I'm even having a hard time getting the IF logic to capture the EOF condition. It keeps barking...
>
>Another update: I'm in a TRY - will that make a difference?
Do you test EOF() on the right work area?
SELECT MyTable
IF EOF()
EXIT
ENDIF
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca