[V4RB] binarylink concept question

Peter Salomon peter.salomon at gmx.net
Sun Aug 21 17:11:15 CDT 2005


Hi Ruslan,

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?



Regards,

Peter Salomon
Hannover, Germany

peter.salomon at gmx.net




More information about the Valentina mailing list