IF ELSE

Hi

I want or condition in IF ELSE statement

e.g. IF a=5 or a=2 then

else

Is it possible ???

Thanx.

Yes, this is no problem, just encapsulate your statements in brackets:

IF (a=5) OR (a=2) THEN

ELSE

Hi,

If the above doesn’t work, then Perhaps you will need 1 more bracket:

IF ( (a=5) OR (a=2) ) THEN

ELSE

Thanks…

Hi Jolly,

please do “Verify the solution” which helped you to solve the problem. This earns you points and also credits the poster of the correct answer.