CurrentScopeIncrement()
Returns the current time increment from the current scope.
Syntax
CurrentScopeIncrement() = Scope Step
Values for the Scope Step are:
-
- EverySecond
- EveryMinute
- EveryFiveMinutes
- EveryFifteenMinutes
- Hourly
- Daily
- Monthly
- Quarterly
- Yearly
Example
CurrentScopeIncrement() = Step Daily
Example
Column "days in scope step" in "d"
If CurrentScopeIncrement() = Step Daily Then
1
ElseIf CurrentScopeIncrement() = Step Monthly Then
DaysInMonth()
ElseIf CurrentScopeIncrement() = Step Yearly Then
365.25
Else
Null()
End If
End Column