combit List & Label 25 - .NET Online Web Help
LlDbSetMasterTable Method
Example 


combit.ListLabel25 Namespace > LlCore Class : LlDbSetMasterTable Method
Table name

If the master data is passed as variables, List & Label needs to know which table is the "master" table in order to be able to offer the suitable sub tables in the table structure window. If you set the master table name using this method, all tables related to this table can be inserted at the root level of the table object.

Syntax
'Declaration
 
Public Sub LlDbSetMasterTable( _
   ByVal tableName As String _
) 
public void LlDbSetMasterTable( 
   string tableName
)
public:
void LlDbSetMasterTable( 
   String^ tableName
) 

Parameters

tableName
Table name
Example
// Pass the tables

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

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

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

LlCore Class
LlCore Members