@CURRENTVALUE

The CURRENTVALUE function takes a variable number of property parameters. Each is evaluated in the context of the parameter that precedes it until either an invalid property is found or the last parameter is evaluated. The value of this property, or of a field on the current detail screen that targets the property, is returned.

The function can take a single property parameter, evaluated in the context of the function call. Either this property value is returned by the function, or the value of a detail screen field targeting that property on the current screen is returned. When multiple parameters are specified, it is assumed these parameters are either objects or object collections. Each subsequent parameter should be a child member of the parameter that precedes it in the function call. Otherwise, the parameter will be treated as an invalid property.

Parameters

@CURRENTVALUE (Property 1 [, ..., Property N])
Property 1
Required property parameter; references the first property evaluated in the context of the function call. This parameter should reference a property that is a child member of the definition setting the context of the function call.
Property N
Optional property parameter(s); references the next property evaluated by the function in the context of the property that immediately precedes it in the function’s parameter list. This should be a child member of that parameter.

Supported Return Types

  • Boolean
  • Integral Number
  • Decimal Number
  • String
  • Property