Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SORTING
Message
De
22/10/2001 03:43:46
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
21/10/2001 13:56:19
Todd Wolfe
Certified Marketing Services
Kinderhook, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00571465
Message ID:
00571554
Vues:
27
>I am having a problem sorting my table correctly. I would like to get all of my contents in field a in alpha order and all of my contents in fieldb in numeric order as the secondary sort.
>
>I have tried this put the field2 does not sort right.
>
>inde on field1 + alltr(str(field2)) to c:\temp\inde1
>
>It doesn't put the field2 in the right order. Field 2 has positives and negative numbers in it. Does anyone know another way to sort this?
>
>Thanks in advance.
Todd,
index on field1+padl(field2+aConstantHighValue,20,'0')
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform