Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SKIP and EOF()
Message
From
12/05/2004 19:41:42
Mike Yearwood
Toronto, Ontario, Canada
 
 
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:
00903433
Views:
19
As others have posted, we'll need to see more code.

SCAN ... ENDSCAN walks through the records all by itself. You should not need a skip, or to check for EOF().

>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform