%StructReplace function


Function
The function replaces a value defined by the parameter toDefValue in a structure column refToColumn within rows defined by the parameters rowFrom and rowTo with a value defined by the parameter replaceWithValue.
Declaration
%StructReplace(
       in refToColumn, 
       in toFindValue, 
       in replaceWithValue, 
   INT in rowFrom, 
   INT in rowTo
 )
Parameters
refToColumnReference to a column.
toFindValueValue to be replaced with.
replaceWithValueValue to be filled into items.
rowFrom, rowToInteger expressions.
Description
If rowFrom=rowTo=0 => the function sets the value defined by the parameter value in the entire column. The column is defined by the reference to an item from this column (e.g. _rec^item).
Napíšte komentár