Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index on Ascending/Descending field wise
Message
From
03/04/2000 12:59:47
 
 
To
03/04/2000 10:50:04
Amit Abhangrao
Charmi Software Exports
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00354206
Message ID:
00354409
Views:
16
>Thanks Craig,
>
> But what about if the descending index field type is 'C' or 'N'?
>
>Regards
>Amit
>
>

Numeric is easy, just subtract from a bigger number and convert to string:

STR(999999999 - MyField)

Character is more complicated. You could write a UDF that converts each letter to it's ASCII value.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform