DailyValueRule(Param, DailyValueCode)

Gets the daily value for a given daily value rule and parameter.

Arguments

Parameter Description
Param Optional. String containing the name of the parameter whose daily value is to be returned. If this argument is missing, the function returns the daily value for the current parameter.
DailyValueCode Optional. String containing the code of a Daily Value rule whose value is to be returned. If this argument is missing, the function uses the daily value rule of the current analysis object.
Return Value Returns the daily value of the specified parameter for the specified daily value rule.

DailyValueRule example

This example returns the daily value of the current parameter for DailyValueRule.

Dim DV As Double = DailyValueRule( )

This example returns the daily value of the current parameter for a daily value rule whose code is CANADA.

Dim DV As Double = DailyValueRule("", "CANADA")