Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SKIP and EOF()
Message
 
To
12/05/2004 18:44:23
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00903423
Message ID:
00903429
Views:
11
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform