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:
00064308
Views:
45
>>>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.
>>
>>Can you give me an example? I NEVER saw a case when the DELETE (with no other clauses) moves the record pointer. And I would really want to see it if this can happen. This would be a HUGE bug. I also assume that you don't have a stored procedure/RI that plays with the rec pointer.
>>
>That's what I thought, too. It occurs with a view and buffered table, but only sometimes when deleting last record, under network shared situation for table...but I don't have the code here at home...I'll have to check it some more next week, but the code I gave does fix the problem...

I know it fixes the problem. But it looks more like an workaround (see also my reply to Allan). I would like to know/determine the exact conditions when this can happen. It never occured to me in any FoxPro version and I would like to be aware of it. I just hate this type of bugs. :)

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform