that would be it.

<CFIF mTEST1 EQ "ABC" AND mTEST2 EQ "DEF">

or

<CFIF (mTEST1 EQ "ABC") AND (mTEST2 EQ "DEF")>

or

<CFIF (mTEST1 IS "ABC") AND (mTEST2 IS "DEF")>

i like using () incase of complex conditions and/or and EQ for numbers and
IS for string comparisons.

good luck,

-alex

-----Original Message-----
From: Arden Weiss [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 11:15 PM
To: CF-Talk
Subject: Multiple conditions in a single CFIF statement.


So far I've only used single <CFIF statements - hence don't know syntax formultiple 
conditions and haven't been able to find an example in the books Ihave.Can someone 
give me a hint or example of the CF syntax to do state thefollowing condition:<CFIF 
mTEST1 EQ "ABC" AND mTEST2 EQ "DEF">

without using nested <CFIF 
statements???Archives:http://www.mail-archive.com/[email protected]/Unsubscribe:http://www.houseoffusion.com/index.cfm?sidebar=lists


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to