RB: isLinked?

Ivan Smahin ivan_smahin at paradigmasoft.com
Fri Nov 18 06:43:16 CST 2011


On 11/18/2011 2:38 PM, Ivan Smahin wrote:
> On 11/18/2011 12:54 PM, Karl Grob wrote:
>> Hi,
>>
>> How can this:
>>
>> "if (hkkaDB.myDB.Lnk1M_VariantenZuWoertern.IsLinked(variantenRID, 
>> wortRID) = false) then 
>> hkkaDB.myDB.Lnk1M_VariantenZuWoertern.LinkRecords(variantenRID, 
>> wortRID)"
>>
>> produce that error:
>>
>> "The link "Lnk1M_VariantenZuWoertern". kMany-table's record "2" is 
>> already linked to some kOne-table's record."
>> ?
>>
>> Regards
>> Karl
>>
>> _______________________________________________
>> Valentina mailing list
>> Valentina at lists.macserve.net
>> http://lists.macserve.net/mailman/listinfo/valentina
>>
>
> LinkRecords(variantenRID, wortRID) refuse linking already linked 
> "kMany record" to another "kOne Record". Firstly you should unlink 
> such a record.
>
>
Sorry, I did not see the "if" statement. What is the link type and 
cardinality (1:M, M:M, 1:1)?

-- 
Best regards,
Ivan Smahin
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com



More information about the Valentina mailing list