Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set/restore TAG() or ORDER()?
Message
De
13/02/2018 03:22:19
 
 
À
12/02/2018 19:01:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01658087
Message ID:
01658088
Vues:
50
>I have to change my code, before SCAN, so that the SCAN would go through all records. Therefore, I will need to SET ORDER TO before the SCAN.
>What is a better practice, saving TAG() to the memory variable and then restoring it (by SET ORDER TO TAG(cSavedTag)).
>Or, saving the ORDER() to the memory variable and then restoring it (by SET ORDER TO (cSavedOrder)
>?

You can also USE yourTable AGAIN IN 0 ALIAS Unordered, SCAN it, and USE it at the end. The initial (and ordered) workarea will be left untouched.
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform