Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Seek() function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00814877
Message ID:
00814893
Vues:
8
What is the seting of SET DELETE? You may also try to reindex the table in question. I've seen strange results when table index is corrupted.
>
>With the debug the Sys(2001,"NEAR") return OFF
>In my program i have:
>If Seek( nKey, "MyTable1", "KEY")  && This Seek is passed even if the value is in deleted record
>    If Seek(nKey, "MyTable2", "KEY") && the same seek on another table with same tags isn't passed
>    EndIf
>Endif
>I have seen that in Command Window using set near On or Off the same seek is correct and the record pointer is moved in eof
>The problem is that if the NEAR is not set correctly why for the first seek the record pointer is moved on the nearest value (like if NEAR = OFF) and for the second seek the record pointer is moved in eof ? If the problem is NEAR the program must work in the same way on my two seek operation.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform