Navigation:  MCL Reference > Data Collection Assistant Functions >

IfCurRun( )

Print this Topic Previous pageReturn to chapter overviewNext page

In the current run row of a view, the function will return the value of the expression inside the character string of the first argument. In past record rows, the function will return the value of the expression inside the character string of the second argument.

 

Syntax

IfCurRun('fTrueExpression','fFalseExpression')

 

Returns

The same data type as the expression contained in the argument strings

 

Example

In the view shown in the following figure, the formula CurRunHorses( ), in the fourth column, shows the current starters met by each horse in each race (including the current race). The formula IfCurRun([" "],[CurRunHorses( )]) applies the CurRunHorses( ) function only in past races. A space (" ") will be shown in the current run.

 

 

 


Page url: http://www.racematenet.com/english/help/index.html?ifcurrun.htm