"ROW" OBJECT CODE

"ROW" OBJECT CODE

Introduced in API version 2.7.9

Object code format

ROW{#}.[property]

 

Possible parent objects

Example

 

Possible parent objects

Example

 

<none>

ROW.NUMBER

Returns the row number that corresponds to the ITEM where the OBJECT CODE is evaluated.

This format can

ARRAY

ARRAY{X}.ROW{1}.ITEM{Y}.REF

Returns the reference of the ITEM with ITEM_CODE=”Y” of the row 1 of the array identified by the CODE=”X” (of the active FORM).

Introduced in API version 2.8.1

Selector

This OBJECT CODE supports adding a selector (optional) . Introduced in API version 2.8.1.

If no selector is provided in the OBJECT CODE expression (e..g. ROW.NUMBER), then the ROW used to calculate the properties is the one of the ITEM in the active context.

If the selector is provided (e.g. ROW{2}.ITEM{HEART_RATE}.REF), it must be a positive numeric value that indicates the row number in the array (Introduced in API version 2.8.1)

Context information

The context in which the OBJECT CODE is evaluated depends on the parent indicated in the expression.

Properties

PROPERTY

DESCRIPTION

PROPERTY

DESCRIPTION

ROW{#}.__SELF__

Returns an object that represents the ROW. This object is intended to be used in REPORT TEMPLATES

The properties of the object can retrieved from a REPORT TEMPLATE by means of the TWIG function ocGet() REPORT function

This is the default property if no one is specified

Introduced in API version 2.8.1

ROW{#}.NUMBER

Row number of the ARRAY to which the ITEM in the active context belongs

ROW{#}.ITEM{X}.*

Provides access to an ITEM in the ROW.