Default sort order

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Dec 11 11:24:10 CST 2005


On 12/11/05 3:26 AM, "Ed Kleban" <Ed at Kleban.com> wrote:

Hi Ed,

> Ok, then how about this:   If I have a M:M binary link (I think I've finally
> found a use for one) and I execute:
> 
>     FindLinked( inRecId, inTableA, inTableB )
> 
> Then is there a guaranteed order for the members of the resulting VArraySet?

Yes, because BinaryLink keep them sorted.
 
> Do occur in  inTabeA.recId order?   Or in  inTableB.recID order?

Above method returns set for table B
 
> If the relationship is recursive:
> 
>     FindLinked( inRecId, inTableA, inTableA, inRecursionDirection )
> 
> what will the order be in this case?  Is it dependent up on the value of
> inRecursionDirection?

Yes depend. 

But in both case-sensitive  you get ordered set of record for tableA,
Last parameter change found records.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list