AnalysisSetResultValue

You can use this function to specify the value for a results field.

Purpose

The AnalysisSetResultValue function is used to update the result value of a specified parameter in an Analysis form for a given row tag.

Syntax

long AnalysisSetResultValue(string RowTag, string ParamCode, object NewValue)

Return Value

If the code is successful, a value greater than zero (0) is displayed.

Arguments

Parameter Description
RowTag The Analysis Row Tag Name in the Result data grid.
ParamCode The name of parameter for which you want to update the value.
NewValue The new value assigned to a parameter in the Analysis result grid.

AnalysisSetResultValue example

This example sets the current parameter to 100 for the PROPOSED result row tag.

AnalysisSetResultValue("PROPOSED", _ANALYSISPARAM, 100)