combit List & Label 24 - .NET Online Web Help
LlDbAddTableRelation Method
Example 


combit.ListLabel24 Namespace > LlCore Class : LlDbAddTableRelation Method

This method can be used to define relations between the tables added via the LlDbAddTable Method. List & Label doesn't directly distinguish between different relation types. You simply pass a relation and it's ID and can query the current relation later at print time using the LlPrintDbGetCurrentTableRelation Method.

Overload List
OverloadDescription
 
 
Example
// Pass the tables

LL.Core.LlDbAddTable("Orders");
LL.Core.LlDbAddTable("OrderDetails");
LL.Core.LlDbAddTableRelation("OrderDetails", "Orders", "Orders2OrderDetails");
LL.Core.LlDbSetMasterTable("Orders"); 

// Localization
LL.Dictionary.Tables.Add("Orders", "Bestellungen")
LL.Dictionary.Tables.Add("OrderDetails", "Bestellposten")
Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

LlCore Class
LlCore Members