#6 Add Sorting

Future
open
nobody
5
2005-03-03
2005-03-03
Thomas G. Habing
No

> Hello everyone!
>
> I'm using VB ZOOM 1.2c1.1 and it works ok with a
Zebra generated index.
>
> Now I'm getting the records in the order they where
inserted into the source
> file, and I'd like to know if there's a way I can get
them sorted by one of
> its fields (I've already specified it as !:s on the
.abs file).
>
> By now, I can sort the elements with yaz client like
this...
> --> find @attr 1=2 "keyword"
> --> sort 1=15 <
>
> How can I do that with VB ZOOM?
>
> Thank you very much
>
> Faithfully
>
> Eduard
>

Hi Eduard,

The ZOOM API does not 'officially' support sorting,
thus there is no support in VB ZOOM. However, since
the YAZ toolkit which is used behind the scenes by VB
ZOOM does have support for sorting, it would be fairly
easy to add that feature to VB ZOOM. I just haven't
had the chance to do much work on VB ZOOM lately, so I
can't offer any estimate as to when it might be added.
It is in my slowly growing 'to do' list.

If you wanted to try and add this feature to the code
yourself, I would be happy to give you some pointers to
get started.

Sorry for the disappointing news.

Kind regards,
Tom

Discussion