INDEX ON PADL(field1, 7, "0") + PADL(100 - Field2,3,"0") TAG _Sort

for the values:

Field1: 100 Field2: 99 ->
0000100001

Field1: 100 Field2: 2 ->
0000100098


Regards,
Sietse Wijnker

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Sytze de Boer
> Sent: dinsdag 5 september 2006 6:42
> To: [EMAIL PROTECTED]
> Subject: Indexing
> 
> Can anyone help me please, my brain is on go-slow
> 
> I have a table with umpteen fields
> I need to index on column 1, then column 2 in descending order e.g.
> column is a numeric field ranging from 1 to 99 column 2 is a 
> numeric field ranging from 0 to 1,000,000 I need the report 
> to start and sub total on field 1, and I want the highest of 
> column 2 at the top
> 
> 
> Can this be done ?
> 
> Sytze
> 
> 
> --- StripMime Report -- processed MIME parts --- multipart/alternative
>   text/plain (text body -- kept)
>   text/html
> ---
> 
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to