[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: help?
- Subject: Re: help?
- From: "Lipka, Jason" <Jason.Lipka@GOV.CALGARY.AB.CA>
- Date: Fri, 26 Jul 2002 09:02:06 -0600
- Importance: normal
- Priority: normal
- Thread-index: AcI0tFdFXAlXdWdgSoeFjNB6etMd8AAAAkUg
- Thread-topic: Re: help?
Have you tried using an Evaluate statement? It is much more clear than writing
a bunch of If statements, especially when you are evaluating many conditions.
jay
-----Original Message-----
From: Andalib Yussuf [mailto:andalib.yussuf@AMS.COM]
Sent: 2002 July 26 8:51 AM
To: SQR-USERS@list.iex.net
Subject: Re: help?
Hey Ramzi,
thanks for replying. That was not the prob. It doesn't like my comparison
using <= or >= is there any other way I can compare the dates.
$doc_date >= '10/01' and $doc_date <= '12/31'
let $quarter = '1'
else If $doc_date >= '01/01' and $doc_date <= '04/30'
let $quarter = '2'
end-if
else If $doc_date >= '05/01' and $doc_date <= '06/30'
let $quater = '3'
thanks