[V4RB] binarylink concept question

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Aug 22 08:44:08 CDT 2005


On 8/22/05 12:58 AM, "Peter Salomon" <peter.salomon at gmx.net> wrote:

>>         res = FindAllLinked( person, phones )
>> 
>> No way to make a mistake. :-)
> 
> :-) no?
> 
> ok. what if i think:
> 
> "I want phones from person!"
> (like one is used to think from sql)

Peter,

Note, that you talk about

        FindAllLinked(
            inTableA as VTable,
            inTableB as VTable,
            inRecursionDirection as Integer = 0 ) as VBitSet

In fact this function will be used very rare.

It work with NOT current record, but with all records of Table A,
And give you set of all records of table B which is linked AT LEAST to one
record of A.

Usually if you want find ALL phones of SOME person, you need to use

FindLinked( 
    inRecID as Integer, inTableA as VTable, inTableB as VTable,
    inRecursionDirection as Integer = 0 ) as VArraySet


-- 
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