[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] if statement syntax



Great! Thanks for the clarification

Laura

>>> "the dragon" <ceprn@hotmail.com> 10/24/2006 3:51 PM >>>
That depends on how you want it processed... with no parens, it processes 
from L to R.
If you logic has to be either the first condition or the second condition 
and the third condition, then it is fine...
If you want it any other way, such as either condition1 or (cond 2 and cond 
3) then you need parens

peace,
clark 'the dragon' willis


PSA: Salary <> Slavery. If you earn a salary, your employer is renting your 
services for 40 hours a week, not purchasing your soul. Your time is the 
only real finite asset that you have, and once used it can never be 
recovered, so don't waste it by giving it away.

I work to live; I don't live to work.

"Time is the coin of your life. It is the only coin you have, and only you 
can determine how it will be spent. Be careful lest you let other people 
spend it for you."

Carl Sandburg
(1878 - 1967)

It is impossible to defeat an ignorant man in argument.

William G. McAdoo

----Original Message Follows----

Good afternoon,

I'm trying to say

if $HasInactiveRow = 'Y' or $IsResident='N' AND $comment<>'New To Bldg'

Does this have to be in parentheses or something for it to evaluate all 
together?

Thanks in advance.

Laura


_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org 
http://www.sqrug.org/mailman/listinfo/sqr-users 

_________________________________________________________________
Get FREE company branded e-mail accounts and business Web site from 
Microsoft Office Live 
http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ 



_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users