Hi List,

This CFSET is returning the error: "Variable DIFFTYPE is undefined."

--

<CFOUTPUT query="get_tasks">
     <CFSWITCH EXPRESSION="lead_time_type_id">
                <CFCASE VALUE="1"><CFSET difftype="""n"""></CFCASE>
                <CFCASE VALUE="2"><CFSET difftype="""h"""></CFCASE>
                <CFCASE VALUE="3"><CFSET difftype="""d"""></CFCASE>
                <CFCASE VALUE="4"><CFSET difftype="""ww"""></CFCASE>
        </CFSWITCH>
   <CFSET diff = DateDiff(#difftype#, Now(), #deadline#)>
</CFOUTPUT>

--

:/   Can anybody see what I'm doing wrong?

Thanks guys,
CK.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192578
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to