[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Correction on Evaluate. This is a typo. The orig had the dash.
I think a combination in an evaluate can only be used as 'OR'
like
when=2
when=3
do whatever
So what you have is written comes down to:
- IF var bigger then other var - 90
- AND var smaller then other var
- OR var has any other value
and since when-other has a specific meaning I think SQR wisely decides
that this does not make any sense and won't let you do that. You
probably need a break (the statement I mean) after the first when,
or you can turn the evaluate around (when < currdt - 90 and > currdt)
When you have only 1 evaluation however you better use an IF
statement...
Arjan
--- Cliff Scott <SCOTTC@SENSORMATIC.COM> wrote:
> I can't get this to work. I get a missing quote error message. Is
> it
> because you can't have multiple conditions in a when? If I take out
> the
> second condition, I don't get an error.
>
> Evaluate Cov_End_DT
> When >= $CurrDt-90 and <= $CurrDt
> When-other
> Show 'found other'
> End-Evaluate
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/