I think I have been staring at these too long. Neither evaluate correctly.
They both always go to the default. Despite the fact that I can see that the
month is correctly assigning itself.

I'll bet it is something simple in my syntax but for the life of me I can't
see it.

Dan

Snippet A: 

<@IF EXPR="@@local$month=05">

<INPUT NAME="Semester" TYPE=RADIO VALUE="Summer" CHECKED>Summer

<@ELSEIF EXPR="@@local$month=06">

<INPUT NAME="Semester" TYPE=RADIO VALUE="Summer" CHECKED>Summer

<@ELSEIF EXPR="@@local$month=07">

<INPUT NAME="Semester" TYPE=RADIO VALUE="Summer" CHECKED>Summer

<@ELSE>

<INPUT NAME="Semester" TYPE=RADIO VALUE="Fall" >Fall

<INPUT NAME="Semester" TYPE=RADIO VALUE="Spring" >Spring

</@IF>

Snippet B: 

<@ASSIGN NAME="local$month" VALUE="<@CURRENTDATE FORMAT='datetime:"%m"'>">

<@IF EXPR="@@local$month=05">

<@ASSIGN NAME="local$category" VALUE="<@FILTER Array='local$resultset'
EXPR='#6=1'>">

<@ELSEIF EXPR="@@local$month=06">

<@ASSIGN NAME="local$category" VALUE="<@FILTER Array='local$resultset'
EXPR='#6=1'>">

<@ELSEIF EXPR="@@local$month=07">

<@ASSIGN NAME="local$category" VALUE="<@FILTER Array='local$resultset'
EXPR='#6=1'>">

<@ELSE>

<@ASSIGN NAME="local$category" VALUE="<@FILTER Array='local$resultset'
EXPR='#6=0'>">

</@IF>

-- 
Dan Stein
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Mobile: 610-256-2843
FMP, WiTango, EDI,SQL 2000
[EMAIL PROTECTED]
www.dss-db.com


________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to