Katy_H
asked on
Using the 'or' operand
Hi
I'm sure that this is a really basic problem, but I can't seem to get it to work. Basically, I want to suppress subreport on the basis of either of two reports being null. The formula I have is:
{@Debtor Indicator} <> "" or {@EEC Indicator} <> ""
Either of these works fine, but in combination they don't work. How do I combine them so that the subreport is suppressed if either of the above conditions is met?
Many thanks,
I'm sure that this is a really basic problem, but I can't seem to get it to work. Basically, I want to suppress subreport on the basis of either of two reports being null. The formula I have is:
{@Debtor Indicator} <> "" or {@EEC Indicator} <> ""
Either of these works fine, but in combination they don't work. How do I combine them so that the subreport is suppressed if either of the above conditions is met?
Many thanks,
IF {@Debtor Indicator} <> "" or IF {@EEC Indicator} <> ""
ASKER
Sorry, Neither of the above suggestions work. I have already tried to use parenthesis and this makes no difference - again either of the two formulas work on their own, but not in combination.
I have also previously tried using the 'IF' function, but this returns an error - 'the keyword 'then' is missing'
I have also previously tried using the 'IF' function, but this returns an error - 'the keyword 'then' is missing'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad I could help.
Spykair
Spykair
({@Debtor Indicator} <> "") or ({@EEC Indicator} <> "")