[V4RB] binarylink concept question
Peter Salomon
peter.salomon at gmx.net
Sun Aug 21 18:22:18 CDT 2005
Hi Rulan,
hmm, i agree.
but this could be also done by symbols (as example)
resSetOnTableB = LinkA_B.findallLinked(EVDirection.kLeft / k.Right)
this way i wouldn´t need to use tableobjects in every handler where i
only use links...
Regards,
Peter Salomon
Hannover, Germany
peter.salomon at gmx.net
Am 21.08.2005 um 17:58 schrieb Ruslan Zasukhin:
> On 8/21/05 6:11 PM, "Peter Salomon" <peter.salomon at gmx.net> wrote:
>
> Hi Peter,
>
>
>> i´m just asking myself:
>>
>> if i have created a binary link between tableA and tableB, created
>> as:
>>
>> LinkA_B = new VBinaryLink("LinkA_B", TblA, TblB, EVLinkType.kOne,
>> EVLinkType.kMany)
>>
>> now i can link records:
>>
>> recs(0) = 1
>> recs(1) = 1
>>
>> LinkA_B.linkrecords(recs)
>>
>>
>> but if i need to know the linked records i have to do:
>>
>> resSet = LinkA_B.findallLinked(TblA, TblB)
>>
>>
>> my question: why must i tell the link again its tables? Shouldn´t the
>> link know its tables?
>>
>
> First of all Tables show direction.
>
>
> resSetOnTableB = LinkA_B.findallLinked(TblA, TblB)
>
> resSetOnTableA = LinkA_B.findallLinked(TblB, TblA)
>
> And as you see resulted set of records also differ.
>
>
> --
> 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]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
>
More information about the Valentina
mailing list