Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting
Message
From
29/05/2002 11:25:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
29/05/2002 11:20:53
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00662521
Message ID:
00662528
Views:
24
>How and where would I specify an index that sorts records by name in descending order AND zipcode in ascending order.
>
>Thanks for any replies,
>
>Mike

You'd need a tricky sort like :

index on name+padl(99999-int(val(zipcode),5) tag mySort descending

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform