Default sort order

Ed Kleban Ed at Kleban.com
Sat Dec 10 23:30:07 CST 2005




On 12/10/05 8:45 PM, "Ed Kleban" <Ed at kleban.com> wrote:

>  
> On 12/10/05 7:26 PM, "Ed Kleban" <Ed at Kleban.com> wrote:
>    
> So I enter the following links:
>     LinkRecords( { 1, 4 } )
>     LinkRecords( { 1, 5 } )
>     LinkRecords( { 1, 6 } )
>     LinkRecords( { 2, 6 } )
>     LinkRecords( { 2, 4 } )
>     LinkRecords( { 2, 7 } )
> 
> Now then, Is there a call I can make that will return me an ArraySet with
> the children of I2 necessarily in the order that these relationships were
> defined?
> 
> How about:
> 
>     anArraySet = aVLink.FindLinked( 2, TItems, Titems, kFromParentToChild )
> 
> Will this necessarily return anArraySet = { 6, 4, 7 }?
> 
> Or can I not assume the order of the elements in the returned anArraySet ?
> 

Woops!  Since this is a M:M link, does "kFromParentToChild" have any meaning
here?  How do I signify I want recId's for right links rather than left
links for recId = 2 ?





More information about the Valentina mailing list