"Murat Yelkovan" <muraty...@yahoo.com> wrote in message
news:47b3f66b@forums-1-dub...
"Murat Yelkovan" <muraty...@yahoo.com> wrote in message
news:47b453a8@forums-1-dub...
dw_1.object.dummy.primary=dw_1.object.compute.primary
and sort on that.
No guarantee's that this will help though.
On Feb 15, 2:23 am, "Philip Salgannik" <PhilipSalgan...@work.com>
wrote:
> On a 4K rowset it is slow - it needs to evaluate (perform the lookup of the
> display vale) for each row to perform the sort.
> And I don't buy your argument about the dynamic nature of the dropdown
> resultset, again for using the resultset of a dataobject retrieval to source
> a treeview you picked a very expensive method for resolving descriptions of
> your ids...
>
> "Murat Yelkovan" <muratyelko...@yahoo.com> wrote in message
>
> news:47b453a8@forums-1-dub...
>
> > Because the sql of the dropdown datawawindow is dynamic. Users set this
> > sql from your interface. I dont want to add this dynamic sql to the main
> > datawindow. Actually I don't aware of the low performance of the
> > lookupdisplay + sort. Why the performance is very bad?
> > "Philip Salgannik" <philemaxNOS...@comcast.net> wrote in message
> >news:47b45085$1@forums-1-dub...
> >> If this is used as a datastructure for sourcing a treeview then why
> >> bother with LookupDisplay, why don't you retrieve descriptions in a
> >> separate column?
>
> >> "Murat Yelkovan" <muratyelko...@yahoo.com> wrote in message
dw_x.SetRedraw(false)
dw_x.SetSort('my_column A')
dw_x.Sort()
dw_x.SetRedraw(true)
HTH
"Jeremy Lakeman" <jeremy....@gmail.com> escribió en el mensaje
news:5431888a-688c-425d...@t55g2000hsa.googlegroups.com...