Why not simplify that with

<cfset variables.RowColors="ffffff,000000">

<tr bgcolor="#listgetat(variables.RowColors,(GetData.CurrentRow MOD 2)+1)#">



Matt Robertson wrote:

>Here's one of the two:
>
>If your query is called GetData, and you have your two color values stored like so:
>
><cfset variables.RowColors="ffffff,000000">
>
><tr bgcolor="#iif(GetData.CurrentRow MOD 2, DE(ListGetAt(variables.RowColors,1)), 
>DE(ListGetAt(variables.RowColors,2)))#">
>
>--
>-------------------------------------------
> Matt Robertson,     [EMAIL PROTECTED]
> MSB Designs, Inc. http://mysecretbase.com
>-------------------------------------------
>
>--
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Reply via email to