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

Rép. : help?



see redondant end-if in your instruction if...end-if !

Je reste à votre disposition pour toute demande d'information complémentaire.

Cordialement, Philippe LEBLANC
Cellule Finances & Statistiques
Poste : 01.55.58.34.92

>>> andalib.yussuf@AMS.COM 26/07/02 16h24 >>>
Hello,
I needed some help. I am getting the following errors with this code.

*********unknown comands or extra parameters found


h.DOC_DT  &doc_date
    let $quarter = datetostr($doc_date, 'MM/DD') !need to put edit mask in
here so that only month and date are compared
     If $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'
        end-if
        else If $doc_date >= '07/01' and $doc_date <= '10/31'
           let $quater = '4'
        end-If