[V4RB] binarylink concept question
Ruslan Zasukhin
sunshine at public.kherson.ua
Sun Aug 21 18:58:50 CDT 2005
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]
More information about the Valentina
mailing list