Instead of having an IF...ELSE IF...ELSE... like I currently do:
IF FORMAT(AccSchedName) = 'BAL SH SUM' THEN
PeriodText := 'As at: ' + FORMAT(EndDate)
ELSE IF FORMAT(AccSchedName) = 'BALANCE SH' THEN
PeriodText := 'As at: ' + FORMAT(EndDate)
I want a single IF statement to cleanup my code a bit. In the other languages I know it would work like this:
IF FORMAT(AccSchedName) = 'BAL SH SUM' | 'BALANCE SH' THEN
PeriodText := 'As at: ' + FORMAT(EndDate)
Operators I have tried and gotten errors from:
|, ||, OR
*This post is locked for comments