Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does record pointer past EOF()
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00064257
Message ID:
00064280
Views:
40
>>Why is the value of zrecord 23?
>
>I've had trouble with this too lately, refreshing after a delete doesn't seem to work as one would expect. What I've done is:
>
>
>delete
>if eof()
>  go bottom
>endif
>skip 1
>skip -1
>
>This gives a full table refresh, and sets the pointer at the correct record.

Hi Vlad - your message has no "reply" button for some reason.

Anyway, the problem is that Delete sometimes places you at eof() already, so you can't Skip without an error. I was trying to use code such as yours, originally.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform