Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index expression involving negative numbers
Message
 
 
To
10/08/2001 11:08:00
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00542299
Message ID:
00542302
Views:
14
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform