FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder

FlexPro Documentation 2025

Calculations.Unit

Read access to the unit of a data object calculation.

Syntax

[DataObject].Calculations(Name).Unit

The syntax of the Calculations.Unit property consists of the following elements:

Element

Description

DataObject

Optional. The data object being accessed. If you omit this element, then the current formula is accessed. In the case of embedded FPScript you have to use the This keyword.

Name

Required. A string with the name of the calculation.

Available In

FlexPro Basic, Professional, Developer Suite

Examples

.Calculations("Frequency").Unit

Accesses the unit of a calculation called "Frequency", which is saved in the formula calculation list.

ChangeUnit(.Calculations("Frequency"), .Calculations("Frequency").Unit)

Recombines the value and unit of a calculation called "Frequency".

 

See Also

Calculations Property