Differences between foreign links and binary links
Bart Pietercil
bart.pietercil at cognosis.be
Tue Jul 1 13:48:15 CDT 2008
Hi William,
Binary Links always work through linking the 2 recid field values of
the 2 tables you are linking.
So a binary link pair consists of (tableA.recid, tableB.recid)
Therefore there is no use in asking what field you want to link to
another one.
But you can look at :
http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:documentation:vkernel:vlink:binarylink
to get a good and thorough explanation (one of the best pages in the
wiki, I think)
hth
Bart
On 01 Jul 2008, at 20:16, william humphrey wrote:
> When you make a foreign link (using vStudio) there is a pop-up so
> that you
> can tell the program where the key field is and where pointer field
> is.
>
> When you make a link using binary links it doesn't ask where the key
> flds
> are nor where the pntr fields are.
>
>
> Because of this I thought that perhaps you were supposed to make a
> foreign
> link first and then convert those links to binary links. I can't get
> my head
> around how the binary links can work if they don't know where the
> key field
> is and where the pointer field is.
>
>
> But know I'm thinking about it and maybe somehow the binary link
> function
> automatically goes out and finds which are the key flds and which
> are the
> ptr fields?
>
>
> I'm asking this because there are lots of interesting:
>
>
>
> VTable_LinkCount( tblRef ) (r/o
>
>
> VTable_Link( tblRef, inIntIndexOrStrName )
>
> Which I'm trying to get to work although they seem to work for regular
> foreign links as I can do the "VTable_LinkCount" successfully I'm just
> unable to do the next step
>
> IE: Use the VTable_Link to start bringing in records from my other
> tables.
>
> Thanks for anyone who can help with this.
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
More information about the Valentina
mailing list