Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exact and deleted recs - did everybody know this but me?
Message
 
 
À
24/07/2006 13:44:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01139176
Message ID:
01139308
Vues:
12
>I included some example code in my first message, but I guess it's been snipped by now. Anyway, if you do a select while DELETED, EXACT, and ANSI are all set to off (and you don't include NOFILTER), the deleted flag will stay set on deleted records. Whether or not this is something that can be counted on as staying that way is a separate and equally important issue.

Sergey explained why it happens. In your case the where expression is completely optimizable and instead of creating a real cursor you were getting a filtered result.

So, you should assume to never get deleted() status back and if you do, it means, you forgot to put NOFILTER <g>
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform