Skip to content

Record Exists

Checks if a table has a record.

Permissions

Command KindNeeded User Kind
ReadAll

Parameters

NameTypeDescriptionRequiredDefaultValues
Itemarray of stringName of the dimension item ([Item]).yes
TablestringName of the table ([Table]).yes
AdjustbooleanIf 'True' protected command chars are replaced: '[' becomes '(', ']' becomes ')' and '=' becomes empty. The default value is 'True'.notrue
CreateItemsbooleanIf 'True' non existing items will be created. The default value is 'False'.nofalse
DateOffsetintegerMoves the date dimension items by the offset. The default value is '0'. For example the month '2022-02' with an offset of 5 becomes '2022-07'.no0
SubtablestringName of the subtable ([Subtable]). A subtable contains additional filters used by the table.no

Result

NameTypeDescription
ExistsbooleanIf 'True' the record exists.
FilledbooleanIf 'True' the record contains values, i.e. a number field is not '0' or a text field ist not empty.

Code

text
RECORD EXISTS
ITEM=[string, Multiple, Needed]
TABLE=[string, Needed]
ADJUST=[boolean, default=true]
CREATEITEMS=[boolean, default=false]
DATEOFFSET=[integer, default=0]
SUBTABLE=[string]