Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting a grid column with negative numbers
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00499559
Message ID:
00499836
Vues:
26
>>>Maybe you can add a sign flag to the string with iif(x<0,'A','B') or something like that. Then negative values are lower then positive ones.
>>
>>This puts the negative numbers first, but the higher negative numbers are listed first.
>

>Oops,
>
>of course,
>
>I then think you may use the method of George (Message #499752)
>(Not tested that)

Ko,

I should work as long as the result of the multiplication is in the range between –2,147,483,648 to 2,147,483,647. So if the total field size is less than 10 it should work.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform