Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very Bad Bug in VFP5.0 and VFP6.0 !!!
Message
From
30/12/1998 13:00:31
 
 
To
30/12/1998 11:54:21
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00171436
Message ID:
00171610
Views:
32
>>>I hope this is a case of too much turkey over the holidays. I think i found a bug with Table Buffering. If i have a cursor with buffering set to 5(table) and change a value of an indexed field, then try to seek on the field i just changed, SEEK returns true (which it should not since the value no longer exists in the table) and the record pointer is left on the next record in the index order. I tested the following program in both VFP5.0a and VPF6.0 and got the same results. PLEASE somebody tell me i am crazy or i am doing something totally wrong.
>
>>
>>I have never come against this problem so I am going to guess that seek is against the physical data not the buffered data.
>
>It seems to be inconsistent. That is the seek finds the record in the index, but does not find it in the table. So it leaves the record pointer on the next indexed record. This is what is very strange. Not only did the seek fail and it told me otherwise, it leaves the record pointer on the wrong record.
>
>Geno

I have never seen this behavior either, but I am sure it is because I don't use your method. I am curious, does this same behavior happen with the SEEK command (not the function). IOW, if you issue a SEEK and then check FOUND(), what does it return?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform