Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'skip 1' always gives blank record at eof
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00254129
Message ID:
00254147
Views:
18
>I've always had this problem but never knew how to solve
>it. I hope there's an easy fix. I have a button 'Next'
>which skips through records on a form. Here's the
>code that it executes.
>
>if not eof() then
> skip 1
>endif
>
>Problem is that always after the last record a blank
>record appears. I really don't think it's a record
>but all fields go blank presumably because it skips to
>the end of the last record and there is nothing to
>display. How can I fix this behavior?
IF EOF()
  GO BOTTOM
ELSE
  SKIP 1
ENDIF
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform