Re: Sorting and listviews

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Tony,

> Secondly has anyone written a sort routine they would like to share. > My
problem is as follows:
> N1-1-1
> N1-1-10
> N1-1-2
> N1-1-3
>
> This is a typical numbering system used in master 
> key systems and I would
> rather have them display in a listview as follows:
> N1-1-1
> N1-1-2
> N1-1-3
> N1-1-10
>
> The default sort routine looks very unprofessional,
> and as I use the lists
> to set the order of reports it is even more un professional.


The possible solution is :

N1-1-01
N1-1-10
N1-1-02
N1-1-03

Then standard RDS include sort.e  
and sort() works as you wish, i.e.

N1-1-01
N1-1-02
N1-1-03
N1-1-10

Same about DOS's sort command.

Maybe, this helps too.

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu