Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to create index with 2 fields 1st ascending 2nd des
Message
From
24/10/2006 16:38:52
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
24/10/2006 08:52:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01164071
Message ID:
01164189
Views:
12
>Hi all, i just need to create a index to show by client the invoices but keeping for each client their invoices in descending order, from the newest to the oldest. This index must be created on the table structure. Any ideas.?
>
>Thanks,

If it is for a report, I wouldn't create an index at all.
select [fieldlist] from [table];
  order by Field1 asc, Field2 desc;
  where [some condition];
  into cursor Tmp
report form ...
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform