Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a compound index with a descending portion
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01053896
Message ID:
01053971
Views:
20
>>I have an application that needs a compound index built. The fields are all string fields, but the user would like the second field to be in descending order. Is there a good way to do this in VFP?
>>
>>TIA
>
>If it's only a matter of displaying them, e.g. in a grid or a browse, and if this can be done with the help of a PRG, then I propose a SELECT-SQL statement, like...
>
select * from sometable order by 1, 2 desc, 3, 4 into cursor c_temp
>browse
I wish that was the case, as I thought of that one. But I need it to be part of an index. Thanks anyway.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform