Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index on multiple columns (fields)
Message
From
22/07/2003 23:13:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Index on multiple columns (fields)
Miscellaneous
Thread ID:
00812633
Message ID:
00812633
Views:
47
Hi Everyone,

I want to index my table on two columns (item_code + item_date). I want to index in such way that,

Item_date is sorted in descending order and item code is sorted on ascending order.

E.g.
Item_code Item_date
========= =========
Item1 01/01/2003
Item2 01/01/2003
Item3 01/01/2003
Item1 01/04/2003
item2 01/04/2003
item3 01/04/2003

The above should be displayed as;
Item_code Item_date
========= =========
Item1 01/04/2003
Item2 01/04/2003
Item3 01/04/2003
Item1 01/01/2003
item2 01/01/2003
item3 01/01/2003

Any suggestions???

Cheers
Shaishav
Regards
Shaishav
Next
Reply
Map
View

Click here to load this message in the networking platform