Skip to content

Set Subtable Items

Sets the items of a subtable.

Permissions

Command KindNeeded User Kind
WriteAll

Parameters

NameTypeDescriptionRequiredDefaultValues
SubtablestringName of the subtable ([Subtable]). A subtable contains additional filters used by the table.yes
TablestringName of the table ([Table]).yes
CreatebooleanIf 'True' a non existing subtable will be created. The default value is 'False'.nofalse
EditItemsbooleanThe item can include captions and attributes. If 'True', the captions and attributes are used to change the dimension items. The default value is 'False'.nofalse
EditSumsbooleanThe sum can include captions. If 'True', the captions are used to change the tree sum. The default value is 'False'.nofalse
FieldSeparatorstringField separator (long and short): Circumflex (^), Comma (,), Semicolon (😉, Tabulator (Tab) or Pipe (|). The default separator is Tab.no
IgnoreErrorsbooleanIf 'True' errors are ignored. If 'False' the command is stopped and an error message is displayed. The default value is 'False'.nofalse
Itemarray of stringItem with dimension, Item, captions and attribute. Normally only dimension and item is used. The captions and attribute can be used to edit the dimension item. The fields are separated by the 'FieldSeparator' char. A semicolon can be used ([Dimension].[Item];[Caption1];[Caption2];[Caption3];[Caption4];[Caption5];[Caption6];[Caption7];[Caption8];[Caption9];[Caption10];[Attribute]), e.g. [Product].[1234];[Product 1234];[];[];[];[];[];[];[];[];[];[Size];[L],[Color].[Blue]no
Sumarray of stringTree sum with dimension, tree, sum and captions. Normally only dimension, tree and sum is used. The captions can be used to edit the tree sum. The fields are separated by the 'FieldSeparator' char. A semicolon can be used ([Dimension].[Tree].[Sum];[Caption1];[Caption2];[Caption3];[Caption4];[Caption5];[Caption6];[Caption7];[Caption8];[Caption9];[Caption10]), e.g. [Product].[Export].[Europe];[Export to Europe];[];[];[];[];[];[];[];[];[]no

Result

No fields

Code

text
SET SUBTABLE ITEMS
SUBTABLE=[string, Needed]
TABLE=[string, Needed]
CREATE=[boolean, default=false]
EDITITEMS=[boolean, default=false]
EDITSUMS=[boolean, default=false]
FIELDSEPARATOR=[string]
IGNOREERRORS=[boolean, default=false]
ITEM=[string, Multiple]
SUM=[string, Multiple]