Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Desc and order by on VFP9
Message
 
 
À
03/05/2005 09:45:44
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
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01010444
Message ID:
01010447
Vues:
24
What exactly doesn't work? Do you get an error? Would following query give you ressult you're looking for?
SELECT lastname,firstname from myfile ;
into cursor mycursor ;
order by lastname desc,firstname desc 
>I find a strange behavior using 'DESC' and 'order by'. i.e. 'select lastname,firstname from myfile into cursor mycursor order by lastname,firstname desc' do not work. without 'desc' or without 'firstname' (with only one order by) it works.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform