Table of contents
TOC
Collapse the table of content
Expand the table of content

Type.AddTableKey

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

Add a key to a table type.

Type.AddTableKey (table as type, columns as list,  isPrimary as logical) as type  

Arguments

ArgumentDescription
tableThe table type to modify.
columnsColumns that define the key.
isPrimaryLogical stating whether or not it is the primary key.

Example

Type.AddTableKey(tableType, {"A", "B"}, false) equals  add a non-primary key that combines values from columns A and B  
© 2018 Microsoft