### Expressions List

This topic lists the available expressions and descriptions of each expression. It also shows what LabelType you need to select and category in the Expression Editor dialog box for the expression to appear. For information on this dialog box, see the "Adding Expression to the GridControl" topic.

Some expressions take one or more parameters. Parameters are values you pass into the function or expression. The expression then uses the parameter to determine what final value the expression should return.

Expression Name | Required LabelType Property | Category | Description
=PartName | HeaderAndFooter Feature Dimension | General | This displays the part's name, taken from the database.
=Operator | HeaderAndFooter Feature Dimension | General | This displays the operator displayed in the Transaction list in Datapage+. If the list contains more than one operator, it displays the operator from the first transaction in the list.
=Date | HeaderAndFooter Feature Dimension | General | This displays today's date, taken from your computer system.
=Page | HeaderAndFooter Feature Dimension | General | This displays the current page number in the report.
=Pages | HeaderAndFooter Feature Dimension | General | This displays the total number of pages in the report.
=StartDate | HeaderAndFooter Feature Dimension | General | This displays the start date in a range of transactions.
=EndDate | HeaderAndFooter Feature Dimension | General | This displays the end date in a range of transactions.
=SelectedTransNumber | HeaderAndFooter Feature Dimension | General | This displays the number of transactions.
=TextReportType | HeaderAndFooter Feature Dimension | General | This displays the type of text report used in the Text tab.
=VariableSetName | HeaderAndFooter Feature Dimension | General | This displays the name of the currently active variable set. If you are not using a variable set, nothing will be displayed.
=QueryName | HeaderAndFooter Feature Dimension | General | This displays the name of the currently active query. If you are not using a query, nothing will be displayed.
=GetTraceValue(param1, param2) | HeaderAndFooter Variable Feature Dimension | FeatureRelative | This displays a specified trace field value based on the defined parameters. This expression takes two parameters: Parameter 1: This defines the transaction to pull the information from. A value of 1 means the most recent transaction, and a 10 means the 10th most recent transaction.

Parameter 2:

This takes the index number for the trace name (or trace column) from which parameter 1 will be used to get a specific value.

For example, in Datapage+ if you hover your mouse over the Transactions list in the side bar, a popup will appear showing each trace names separated by a semicolon character. These are the trace names for the trace columns. Starting from left and moving to the right, the index values would be 0, 1, 2, 3, 4 and so on.

Example Trace Names OPERATOR, CAVITY, and MOLD and their respective index values of 0, 1, and 2

=GetFeatureValue(param1, param2) | Variable Feature Dimension | FeatureRelative | This displays the value of the items specified in the second parameter. This expression takes two parameters: Parameter 1 is always Null if the LabelType property is Variable. If it is Feature or Dimension, this parameter specifies an axis: (X, Y, Z, D, A, M, T, S, PD, RT, RS, Prad, Pang, L, H, and V).

Parameter 2 can be one of these:

+T - This shows the feature's plus tolerance.

-T - This shows the feature's minus tolerance.

ąT - This shows both the plus and the minus tolerance.

Dev - This shows the feature's deviation.

Nominal - This shows the feature's nominal value.

=GetStatisticValue(param1,param2) | Variable Feature Dimension | FeatureRelative | This displays the specified statistical value defined in Parameter 2. This expression takes two parameters: Parameter 1 is always Null if the LabelType property is Variable. If it is Feature or Dimension, this parameter specifies an axis: (X, Y, Z, D, A, M, T, S, PD, RT, RS, Prad, Pang, L, H, and V).

Parameter 2 is the statistical value. These are the same values defined in the "Description of Column Names" topic where the Detailed Mode of Feature Monitor tab is discussed.

=GetTransactionValue(param1, param2, param3) | Variable Feature Dimension | FeatureRelative | This displays the specified transaction value. This expression takes three parameters: Parameter 1 is always Null if the LabelType property is Variable. If it is Feature or Dimension, this parameter specifies an axis: (X, Y, Z, D, A, M, T, S, PD, RT, RS, Prad, Pang, L, H, and V).

Parameter 2:

This defines the transaction to pull the information from. A value of 1 means the most recent transaction, and a 10 means the 10th most recent transaction.

Parameter 3:

Measure value - This displays the measured value of the transaction.

MeasureDev - This displays the deviation of the measured value.

MeasureDate - This displays the date of the measurement.

=GetObjectName(param1) | Variable Feature Dimension | FeatureRelative | This displays the name an object name. This expression takes one parameter. The type of object whose name it displays depends on a single parameter you specify in the parentheses. The parameter can be one of these values: DimensionName - This displays the dimension name: for example, something like LOC1.

FeatureName - This displays the feature name: for example, something like CIR1.

FeatureVariableName - This displays the feature variable name: for example, something like CIR1.X.

=GetOutTolerance(param1,param2) | Variable Feature Dimension | FeatureRelative | This displays the out-of-tolerance values for the specified transaction. This expression takes two parameters: Parameter 1 is always Null if the LabelType property is Variable. If it is Feature or Dimension, this parameter specifies an axis: (X, Y, Z, D, A, M, T, S, PD, RT, RS, Prad, Pang, L, H, and V).

Parameter 2:

This defines the transaction to pull the information from. A value of 1 means the most recent transaction, and a 10 means the 10th most recent transaction.

=ExpanderCell() | Variable Feature Dimension | FeatureRelative | This expression corresponds to the parameter selection in the Label Settings dialog box. Datpage+ will show the label with the selected statistic parameters in the Chart Mode statistics list if you use this expression. See "Label Settings".
X Y Z D T H L M Pang Prad PD | Variable Feature Dimension | AxisParameter | The items in the function list show the axis for the feature variable if that axis is available. The software will not show nothing if it cannot find the axis for the variable.