I think it wouldn' work properly because date() changes from day to day.
Expression
date()-ValueDate
value will increase by 1 with each passing day.
>>Try:
>>
>>Bankcode+padl(datetime()-ValueDate,15,'0')
>>
>>The most recent dates will be smaller numbers so they will be ordered first in an ascending index.
>>
>>HTH.
>>
>Larry / Nadya,
>
>Thank you very much for the help.
>
>Nasal congestion tends to slow up the transportation between my synapses. :)
>
>Laterness,
>Jon
--sb--