Accessing Data in VLinked Records

Chuck Pelto cbpelto at pcisys.net
Mon May 8 11:15:19 CDT 2006


On May 8, 2006, at 10:55 AM, Ruslan Zasukhin wrote:

> On 5/8/06 6:49 PM, "Chuck Pelto" <cbpelto at pcisys.net> wrote:
>
> Hi Cguck,
>
>> My current question about this technique, in the API-way, is...
>>
>> How do I get to related records via a Binary-Link record? What sort
>> of call is necessary to get the recID for a particular record from a
>> Binary-Link?
>
>     dim LinkedRight as VBitSet
>
>     linkedRight = vlink.FindLinked( RecID_Left, T1, T2 )

Ach tso!

VBitSet?

I was looking at the VArraySet and scratching my head.

>> I imagine that one would already know the name of the file you're
>> interested in and from there it would just be a matter of goto the
>> recID in the table and get the data or set it.
>
> Right. But to ALL linked childs

So the VBitSet will return a set of recIDs to all the chid records.  
What I'd need to do, to isolate, a given child record is get that  
record's ID and then go after the data within that record. Is this  
correct?

Regards,

Chuck Pelto


More information about the Valentina mailing list