Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Works in 6.0 not 8.0 - tableupdate(.t.,.t.,table) - recn
Message
From
29/10/2003 17:17:00
 
 
To
29/10/2003 16:49:00
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00844161
Message ID:
00844323
Views:
23
This message has been marked as the solution to the initial question of the thread.
>>Bottom line is the RECNO() index is not reliable if records are added while using buffering. Even if you run in VFP6 or use the workaround, the recno index does not contain the recno() value for the newly added records once the transaction is committed.
>
>Basically, I should remove the index from tables that use buffering, correct?
>I never used the index enough in 6.0 to even notice the problem. When 8.0 failed to update though, it got my attention.

I would be hesitant to use it at all because you can't depend on the value in the index matching RECNO(). For example, if you delete records and pack the table, the indexed values may not match the actual RECNO().
Jim Saunders
Microsoft
This posting is provided “AS IS”, with no warranties, and confers no rights.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform