Finding unlinked records

Ivan Smahin ivan_smahin at valentina-db.com
Wed Nov 22 17:02:14 CST 2006


Hello Joakim,

Wednesday, November 22, 2006, 3:04:50 PM, you wrote:

> Hi,

> It there any easy trick to find all unlinked records in a table (VB6 COM,
> API way)? Except for stepping through and check all with .IsLinked, of
> course.

See the examples Link_xxx_Records

  AllLinked = mLink.FindAllLinked( TA, TB )
  
  AllRecs = TB.SelectAllRecords
  
  res = AllRecs.Difference( AllLinked )
  
-- 
Best regards,
 Ivan                            mailto:ivan_smahin ÎÁ valentina-db.com



More information about the Valentina mailing list