Hello, I have never used Switch function before. For the sake of explanation, I have simplified the formula.
Switch(MyVariableName, DateAdd(Now(),-30,Months), "Inactive","Active" )
The code works, but the DateAdd(Now(), -30, Months) returns a value of the specific date 30 months ago.
Is there a way with the switch function to implement code like the if statement? I would use <=Today() for an IF statement. I cannot use it with the Switch function.
Example(Switch(MyVariableName, <=Today(), "Inactive","Active" ) gives an error.