Subject | Re: [IBO] Locate - Jason help! |
---|---|
Author | Miguel |
Post date | 2002-05-22T07:10:20Z |
Geoff, is simple:
I have two fields, ID and Parent ID and the component perfoms calls to
Locate method to construct on the fly the tree, when expand a node and so
on. I need that the DBTree component can call to Locate('ID', and
Locate('Parent_ID', with a good performance but the Dataset always has to be
sorted by Parent_ID. Paradox do it perfectly, use the other index although
doesn't change it in the table.
I am sorry, my english is limited... Better ?
Thank you Geoff.
"Geoff Worboys" <geoff@...> escribi� en el mensaje
news:931581046.20020522131558@......
I have two fields, ID and Parent ID and the component perfoms calls to
Locate method to construct on the fly the tree, when expand a node and so
on. I need that the DBTree component can call to Locate('ID', and
Locate('Parent_ID', with a good performance but the Dataset always has to be
sorted by Parent_ID. Paradox do it perfectly, use the other index although
doesn't change it in the table.
I am sorry, my english is limited... Better ?
Thank you Geoff.
"Geoff Worboys" <geoff@...> escribi� en el mensaje
news:931581046.20020522131558@......
> > Locate is very fast with the new IBO 4 but I have a problem. I am
> > trying to use it with a Developer Express DBTreeView and they use
> > indexes to construct it very fast on demand, but the component uses
> > locate with ID or Parent ID, with Paradox is very fast but with IBO
> > looks that only use the index to perform the locate when the index
> > is active, is it true? Any solution? Initially the index is active
> > with Parent ID but the locate in Paradox use the other index if is
> > needed to perform a fast locate without change the actual index.
>
> Not sure what Jason will make of this but I think you may need to be a
> bit more explicit as to exactly what you mean. There are several
> different ways in which dataset(s) can be attached to treeviews and
> since I am not familiar with how it is done with DevExp I think you
> may need to spell out the configuration in more detail.
>
> --
> Geoff Worboys
> Telesis Computing