Hi,


I keep getting error 6 with 'IF' statement. 
I have a long conditional like:

Omc  = (C0 > eh13)  AND (Op0 < wbx150) AND (C0 < the75pzone) AND 
myind1 AND sup5up AND  n17up ;

(Then:)

Fcase = "a";

if ( omc)   Fcase = "b";


I keep getting error 6.

I've changed the 'Boolean' expression to Ref(omc, 0) and 
If (omc > 0)  and a few other variations.

My filter is a bunch of `OR' statements and I want to, with an 
addtextcolum statement display which `OR' statement got through the 
filter statement.

And I've searched the maual. The words 'and' and 'or' are not
in the reserved word list, and I don't think boolean is defined,
but I could be wrong.

Thanks In advance for showing me the error of my ways. An example
of how to do this would be great. Want I want is the iif with no
action when the statement is false.






Reply via email to