Export (0) Print
Expand All
Expand Minimize

refresh Attribute

Office 2007

Specifies when the expression will be evaluated.

Type

xsd:string

Parent Elements

ElementDescription
calculatedFieldDefines an individual calculation, including the formula, when the calculation is to be performed, and where the result will be stored.

Definition

<xsd:attribute name="refresh" type="xsd:string" use="required" ></xsd:attribute>

Remarks

The expression specified by the expression attribute is evaluated according to the refresh attribute of the calculatedField element. A value of "onInit" causes the expression to be evaluated when the node is initialized. A value of "onChange" causes the expression to be evaluated when one or more parameters of the expression change.

Example

The following is an example of the refresh attribute as it is used in the calculatedField element:

<xsf:calculations>
 <xsf:calculatedField
  target="/my:myFields/my:average"
  expression="xdMath:Avg(../my:expenses/my:expense/my:amount)"
  refresh="onChange" />
</xsf:calculations>


Community Additions

ADD
Show:
© 2014 Microsoft