Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I SELECT from a cursor into itself
Message
De
03/12/2007 08:18:54
 
 
À
03/12/2007 02:48:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01272403
Message ID:
01272766
Vues:
17
Very nice! I'll use that in my case. Thanks!

>In processes taking many steps to prune data I usually have a "delreason" field: if empty, the record is not deleted,
>if it gets deleted I fill it with a string making it easy to identify the process step which deleted.
>
>Easy to track even afterwards and quite fast: deletion writes more than the deleted flag, but not much,
>finding bugs is speeded up tremendously.
>
>>Thanks for the warnings about debugging when SELECTing a cursor back into itself.
>>My case is rather simple, as I'm simply pruning the same cursor (one or more times).
>>In retrospect, I could have accumulated the selection criteria (which are handled thru macro substitution anyway) and done them all at once. But, I think it reads a little better the way that it is.
>
>>
>>>>Can I do a SELECT phrase from a cursor where the INTO goes back into the same named cursor?
Jim Nelson
Newbury Park, CA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform