Hi,
I have some code that dumps the contents of several queries into tables
that are set at 21 columns wide maximum. Everything worked fine thru 5.0
but when we upgraded to MX it would list the <th> tags OK but then on the
rows of data it would only list the first seven columns of the first row
and then nothing. Any help would be really appreciated!
Thank you
Mathy
Here is the code:
<cfset RowNow = #nextstart#>
<table border="1" cellspacing="0" cellpadding="0" align="center" bgcolor="Tan">
<tr>
<cfoutput>
<th rowspan=2>#get_table_info.row_heading#</th>
<th colspan="#Evaluate(MaxCols)#">#get_table_info.column_heading#</th>
</cfoutput>
</tr>
<tr>
<cfoutput query="select_data" startrow="#RowNow#" MaxRows="#MaxCols#">
<TH>#C#</TH>
</cfoutput>
</tr>
<cfoutput query="select_data" group="R" startrow="#RowNow#"
MaxRows="#MaxRows#">
<tr>
<cfset altcolor = "bgcolor='###Iif(((RowNow MOD 2) is
0),de('cccccc'),de('ffffff'))#'">
<td align=center><b>#R#</a></b></td>
<cfoutput>
<cfif ColNow GTE #MaxCols#>
<td align=center #altcolor#>#select_data.V#</td>
<cfelseif ColNow LTE #MaxCols# AND RowNow EQ #nextstart#>
<td align=center #altcolor#>#select_data.V#</td>
</cfif>
<cfset ColNow = IncrementValue(ColNow)>
</cfoutput>
<cfset ColNow = 1>
<cfset RowNow = IncrementValue(RowNow)>
</tr>
</cfoutput>
</table>
-----------------------+
cf-xml mailing list
http://torchbox.com/xml/list.cfm