Hi,
Does anyone know how to do this within the confines of a <cftable> tag? <cftable> doesn't allow any bgcolor attributes. Following is my code, and every row just defaults to white.
<table width=800 border=1>
<tr>
<cfset #rowcolor# = 'white'>
<td bgcolor="<cfoutput>#rowcolor#</cfoutput>">
<CFTABLE Query="achdata" HTMLTABLE BORDER COLHEADERS MAXROWS=200>
<CFCOL Header="<B>Branch Code</B>" Width=8 Text="#wach_branch_code#">
<CFCOL Header="<B>Agent Code</B>" Width=8 Text="#wach_agent_code#">
<CFCOL Header="<B>Ins Last Name</B>" Width=20 Align=Right Text="#wach_ins_last_name#">
<CFCOL Header="<B>Ins First Name</B>" Width=10 Align=Right Text="#wach_ins_first_name#">
<CFCOL Header="<B>M.I.</B>" Width=5 Align=Right Text="#wach_ins_middle_initial#">
<CFCOL Header="<B>Tran Date</B>" Width=10 Align=Right Text="#wach_tran_date#">
<CFCOL Header="<B>Binder Number</B>" Width=15 Align=Right Text="#wach_binder_number#">
<CFCOL Header="<B>Bank Account Number</B>" Width=17 Align=Right Text="#wach_bank_account_num#">
<CFCOL Header="<B>Bank Amount</B>" Width=10 Align=Right Text="#wach_bank_amount#">
</CFTABLE>
<cfif (#achdata.currentrow# mod 2) eq 0>
<cfset #rowcolor# = 'white'>
<cfelse>
<cfset #rowcolor# = 'blue'>
</cfif>
</td>
</tr>
</table>
Thanks in advance,
scripter73