Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index expression involving negative numbers
Message
 
 
À
10/08/2001 11:08:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00542299
Message ID:
00542302
Vues:
17
This message has been marked as the solution to the initial question of the thread.
Try this
Index on Str(99999999999.99 + pp_Amount, 15, 2) + Str (pp_NumOper, 6) Tag Amount1
>Hi All,
>
>How can I create an index expression (in the case below tag Amount1) involving two numeric values (pp_NumOper and pp_Amount) when one of them (pp_Amount) can assume negative values, getting the proper sorting sequence (i.e. from the smallest value to the biggest value, considering their algebraic values and not their absolute values).

< SNIP >
>
Index on Str  (pp_Amount, 14, 2) + Str (pp_NumOper, 6) Tag Amount1>
< SNIP >
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform