@fja @Tom so i have a scenario as follows: a =intnx('day',today(),-1); b=intnx('day',today(),-2); we have a variable named flag whose value is set based on other conditions. now what is desired is: suppose flag=1: if flag=1 then a =intnx('day',today(),-1) and b=intnx('day',today(),-2); so the above syntax is desired but looks like we cannot add multiple then conditions through and. i tried with if..do statements but after we end the statement i cannot access the variable a & b after that. can you please help me here.
... View more