EscapeE

Defining field values

Defining field values

Previous topic Next topic No expanding text in this topic  

Defining field values

Previous topic Next topic JavaScript is required for expanding text  
{fieldname:=value}

Assigns a value to the named field; see also More on defining composite fields.

If the named field does not exist, it will be created. The value can include fields and expressions, see Special fields in composed strings and Composite field expressions.

Examples

{newfield:=0}

{delta:={field1-field2}}

{next:={_page+1}}

Note that the last example assigns the numeric value of {_page} plus 1, i.e if _page is 23, next field value is set to 24. This example, however, assigns a string value:

{sum:={_page}+1}

i.e. if _page is 23, next field value is set to the string "23+1".