Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting a grid column with negative numbers
Message
 
À
25/04/2001 11:48:09
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00499559
Message ID:
00499688
Vues:
22
The problem is caused by blanks in str() and by not proper numbers comparing when they are in string (like "120"<"13").
Try: INDEX ON CharField1+strtran(STR(NumField2)," ","0"))

>In addition this should work too:
>INDEX ON CharField1+alltr(STR(NumField2)) TAG temp

>Nope, completely wrong.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform