WriteComment
Writes comment to cell defined by the specified tuple and returns the tuple. The function can be used the same way to delete a comment from a cell.
Syntax
«Tuple» WriteComment(«Tuple», «String
Expression» |«Null» TargetCell WriteComment(TargetCell, Comment))
This table describes the parameters:
Parameters | Description |
---|---|
TargetCell:
«Tuple»
|
Target cell's coordinate, the dimensionality of this tuple must be equal to the number of dimensions in cube. |
Comment:
«String Expression»|«Null»
|
If Comment is null, the cell’s comment is deleted. |
Return value: | «Tuple» , this function returns TargetCell . |
Example
SELECT FROM [TOTSALES] WHEREWriteComment(([2002], [Budget], [Austria], [ProView VGA 12], [January], [Units]),"Hello World")