> 
> Im doing a CFOUTPUT from a database and the data just repeats 
> down one long 
> column in the table...
> 
> Is there any way to repeat the data into a two column table?
>

Chad,

What you need to do is something like this....

<cfset EndColOne = round(myquery.recordcount/2)>
<cfset StartColTwo = IncrementValue(EndColOne)>
<table>
<tr>
        <td>
        <table> 
        <cfoutput query="myquery" Maxrows="#EndColOne#">
                <tr><td>#Field1# - #Field2#</td></tr>
        </cfoutput>
        </table>
        </td>
        <td>
        <table> 
        <cfoutput query="myquery" StartRow="#StartColTwo">
                <tr><td>#Field1# - #Field2#</td></tr>
        </cfoutput>
        </table>
        </td>
</tr>
</table>

Hope this helps.

Regards

Stephen

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to