This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C04E97.161EFB32
Content-Type: text/plain;
        charset="iso-8859-1"


you can have a list as the value

<cfswitch expression="10">
        <cfcase value="7,8,">
        a
        </cfcase>
        <cfcase value="12,13,14">
        b
        </cfcase>

</cfswitch>


might help.


-----Original Message-----
From: Gregory Harris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 6:02 PM
To: CF-Talk
Subject: CFCASE Help?


This is a multi-part message in MIME format.

------=_NextPart_000_0196_01C04E4B.D4F95E40
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Can you use <CFCASE> to evaluate numeric expressions such as a between =
statement, or greater than/less than statements?  Specifically this is =
the following statement:

<CFCASE VALUE=3D"BETWEEN 6 AND 9">

Cold Fusion evaluates this literally instead of mathematically, any =
ideas for help? Thanks!


Gregory Harris
Web Developer
Stirling Bridge Group LLC


------=_NextPart_000_0196_01C04E4B.D4F95E40
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Can you use &lt;CFCASE&gt; to evaluate =
numeric=20
expressions such as a between statement, or greater than/less than=20
statements?&nbsp; Specifically this is the following =
statement:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;CFCASE VALUE=3D"BETWEEN 6 AND =
9"&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Cold Fusion evaluates this literally =
instead of=20
mathematically, any ideas for help? Thanks!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Gregory Harris<BR>Web =
Developer<BR>Stirling Bridge=20
Group LLC<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_0196_01C04E4B.D4F95E40--

----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

------_=_NextPart_001_01C04E97.161EFB32
Content-Type: text/html;
        charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>RE: CFCASE Help?</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=2>you can have a list as the value</FONT>
</P>

<P><FONT SIZE=2>&lt;cfswitch expression=&quot;10&quot;&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>&lt;cfcase 
value=&quot;7,8,&quot;&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>a</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>&lt;/cfcase&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>&lt;cfcase 
value=&quot;12,13,14&quot;&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>b</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>&lt;/cfcase&gt;</FONT>
</P>

<P><FONT SIZE=2>&lt;/cfswitch&gt;</FONT>
</P>
<BR>

<P><FONT SIZE=2>might help.</FONT>
</P>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Gregory Harris [<A 
HREF="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FONT>
<BR><FONT SIZE=2>Sent: Tuesday, November 14, 2000 6:02 PM</FONT>
<BR><FONT SIZE=2>To: CF-Talk</FONT>
<BR><FONT SIZE=2>Subject: CFCASE Help?</FONT>
</P>
<BR>

<P><FONT SIZE=2>This is a multi-part message in MIME format.</FONT>
</P>

<P><FONT SIZE=2>------=_NextPart_000_0196_01C04E4B.D4F95E40</FONT>
<BR><FONT SIZE=2>Content-Type: text/plain;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
SIZE=2>charset=&quot;iso-8859-1&quot;</FONT>
<BR><FONT SIZE=2>Content-Transfer-Encoding: quoted-printable</FONT>
</P>

<P><FONT SIZE=2>Can you use &lt;CFCASE&gt; to evaluate numeric expressions such as a 
between =</FONT>
<BR><FONT SIZE=2>statement, or greater than/less than statements?&nbsp; Specifically 
this is =</FONT>
<BR><FONT SIZE=2>the following statement:</FONT>
</P>

<P><FONT SIZE=2>&lt;CFCASE VALUE=3D&quot;BETWEEN 6 AND 9&quot;&gt;</FONT>
</P>

<P><FONT SIZE=2>Cold Fusion evaluates this literally instead of mathematically, any 
=</FONT>
<BR><FONT SIZE=2>ideas for help? Thanks!</FONT>
</P>
<BR>

<P><FONT SIZE=2>Gregory Harris</FONT>
<BR><FONT SIZE=2>Web Developer</FONT>
<BR><FONT SIZE=2>Stirling Bridge Group LLC</FONT>
</P>
<BR>

<P><FONT SIZE=2>------=_NextPart_000_0196_01C04E4B.D4F95E40</FONT>
<BR><FONT SIZE=2>Content-Type: text/html;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
SIZE=2>charset=&quot;iso-8859-1&quot;</FONT>
<BR><FONT SIZE=2>Content-Transfer-Encoding: quoted-printable</FONT>
</P>

<P><FONT SIZE=2>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 
Transitional//EN&quot;&gt;</FONT>
<BR><FONT SIZE=2>&lt;HTML&gt;&lt;HEAD&gt;</FONT>
<BR><FONT SIZE=2>&lt;META http-equiv=3DContent-Type content=3D&quot;text/html; =</FONT>
<BR><FONT SIZE=2>charset=3Diso-8859-1&quot;&gt;</FONT>
<BR><FONT SIZE=2>&lt;META content=3D&quot;MSHTML 5.50.4522.1800&quot; 
name=3DGENERATOR&gt;</FONT>
<BR><FONT SIZE=2>&lt;STYLE&gt;&lt;/STYLE&gt;</FONT>
<BR><FONT SIZE=2>&lt;/HEAD&gt;</FONT>
<BR><FONT SIZE=2>&lt;BODY bgColor=3D#ffffff&gt;</FONT>
<BR><FONT SIZE=2>&lt;DIV&gt;&lt;FONT face=3DArial size=3D2&gt;Can you use 
&amp;lt;CFCASE&amp;gt; to evaluate =</FONT>
<BR><FONT SIZE=2>numeric=20</FONT>
<BR><FONT SIZE=2>expressions such as a between statement, or greater than/less 
than=20</FONT>
<BR><FONT SIZE=2>statements?&amp;nbsp; Specifically this is the following =</FONT>
<BR><FONT SIZE=2>statement:&lt;/FONT&gt;&lt;/DIV&gt;</FONT>
<BR><FONT SIZE=2>&lt;DIV&gt;&lt;FONT face=3DArial 
size=3D2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;</FONT>
<BR><FONT SIZE=2>&lt;DIV&gt;&lt;FONT face=3DArial size=3D2&gt;&amp;lt;CFCASE 
VALUE=3D&quot;BETWEEN 6 AND =</FONT>
<BR><FONT SIZE=2>9&quot;&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;</FONT>
<BR><FONT SIZE=2>&lt;DIV&gt;&lt;FONT face=3DArial 
size=3D2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;</FONT>
<BR><FONT SIZE=2>&lt;DIV&gt;&lt;FONT face=3DArial size=3D2&gt;Cold Fusion evaluates 
this literally =</FONT>
<BR><FONT SIZE=2>instead of=20</FONT>
<BR><FONT SIZE=2>mathematically, any ideas for help? 
Thanks!&lt;/FONT&gt;&lt;/DIV&gt;</FONT>
<BR><FONT SIZE=2>&lt;DIV&gt;&lt;FONT face=3DArial 
size=3D2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;</FONT>
<BR><FONT SIZE=2>&lt;DIV&gt;&lt;FONT face=3DArial 
size=3D2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;</FONT>
<BR><FONT SIZE=2>&lt;DIV&gt;&lt;FONT face=3DArial size=3D2&gt;Gregory 
Harris&lt;BR&gt;Web =</FONT>
<BR><FONT SIZE=2>Developer&lt;BR&gt;Stirling Bridge=20</FONT>
<BR><FONT SIZE=2>Group 
LLC&lt;BR&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</FONT>
</P>

<P><FONT SIZE=2>------=_NextPart_000_0196_01C04E4B.D4F95E40--</FONT>
</P>

<P><FONT 
SIZE=2>------------------------------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>Archives: <A 
HREF="http://www.mail-archive.com/[email protected]/" 
TARGET="_blank">http://www.mail-archive.com/[email protected]/</A></FONT>
<BR><FONT SIZE=2>Unsubscribe: <A 
HREF="http://www.houseoffusion.com/index.cfm?sidebar=lists" 
TARGET="_blank">http://www.houseoffusion.com/index.cfm?sidebar=lists</A> or send a 
message with 'unsubscribe' in the body to [EMAIL PROTECTED]</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C04E97.161EFB32--
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to