Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Order by abs()
Message
De
13/07/2001 14:56:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00530431
Message ID:
00530440
Vues:
26
Michael,
you can select with the ABS() field and then use the SET FIELS command
SELECT *,abs(nfield)as test FROM myTable ORDER BY test
SET FIELDS TO ALL EXCEPT test
DO REPORT ....
by the way, it doesn't matter if you have one extra field. It won't change your report.

hope it helps

>Is it possible have a sql statement order the results by the ABS() of a field? I don't want to actually create a field with the data because the resulting cursor is immediately fed to a pre-formatted report.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform