Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible bug with seek in SP in VFP6?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Database:
Visual FoxPro
Divers
Thread ID:
00968846
Message ID:
00969063
Vues:
12
Hi Christof,

The problem I experienced was not due to a bug but rather my ignorance <g>.

Thank you for your help.

>Hi Dmitry,
>
>> The Seek() in my case returns .F. even if entry is in the table.
>
>That could be index corruption.
>
>There is a bug with SEEK in VFP 6, but usually it causes SEEK() to return .T. This happens when you change the primary key in a buffered table and then seek for the old value before you issue TABLEUPDATE. You end up being on the record that followed the old primary key. I think this applied to all fields. not just primary keys, if that record was the last one with a particular value.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform