Yes you need the parens, and yes that second statement is correct.

On 8/17/07, Will Tomlinson <[EMAIL PROTECTED]> wrote:
>
> Easy question here... just wanna make sure I don't screw this up cause
> it's kinda important.  :)
>
> Here's my current statement.
>
> <cfif getSection.DeliveryMethod EQ "Web-Enhanced" AND
> getWebEnhancedAddonQuestions.recordcount>
>     Show questions blah blah...
> </cfif>
>
> What I need it to say is, if the delivery method is "web-enhanced" OR
> hybrid.
>
> Would you just stick it in there? Or use parenthesis around those two
> items?
>
>
> <cfif (getSection.DeliveryMethod EQ "Web-Enhanced" OR
> getSection.DeliveryMethod EQ "Hybrid") AND
> getWebEnhancedAddonQuestions.recordcount>
>     Show questions blah blah...
> </cfif>
>
> Or, do I even need the parenthesis.
>
> It takes quite a bit of time to test this thing, or else I'd be testing
> instead of asking you guys.  :)
>
> Thanks,
> Will
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286463
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to