Yes -- you may need parenthesis -- I usually do, just in case:
<CFIF (mTEST1 EQ "ABC" AND mTEST2 EQ "DEF")>
Sometimes I'm REALLY careful and do:
<CFIF ((mTEST1 EQ "ABC") AND (mTEST2 EQ "DEF"))>
-----Original Message-----
From: Arden Weiss [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 8: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 for
multiple conditions and haven't been able to find an example in the books I
have.
Can someone give me a hint or example of the CF syntax to do state the
following 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