Ack! Here comes the Evaluate police. You do NOT need to use evaluate in
a CFIF like that. This code will work just fine:

<tr bgcolor="<cfif currentrow mod 2>FFFFFF<CFELSE>000000</cfif>">

Remember, 9 times out of 10 you don't need to use evaluate. 

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email    : [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Helen Simpson [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, March 18, 2002 3:06 PM
> To: CF-Talk
> Subject: RE: alternating rows
> 
> 
> How about
> <tr bgcolor="<cfif Evaluate(currentrow mod 2) is 
> 1>FFFFFF<cfelse>000000</cfif>">
> 
> Helen
> 
> 
> -----Original Message-----
> From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 18, 2002 13:31
> To: CF-Talk
> Subject: alternating rows
> 
> 
> Does anyone remember the quick way to alternate row colors 
> when using MOD on
> a recorcount?
> 
> Mike
> 
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to