Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ORDER BY question
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01220656
Message ID:
01220657
Vues:
24
This message has been marked as the solution to the initial question of the thread.
>Say I create an empty cursor (using SQL Select and READWRITE) and some ORDER BY fields (e.g. MYFLD1 + MYFLD2).
>
>Then I create a couple of index tags for this cursor.
>
>Then I populate the cursor.
>
>Then I set the SET ORDER TO to return the cursor to the original order. Will this order be the same as the ORDER BY of the initially created cursor?
>

The order by works during qyuery only. If query returns 0 records then ORDER BY is irrelevant. IOW, the records will be in the order they had been added to the cursor.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform