Use cfoutput or cfloop... that's their job!
Something like (Formatted for simplicity of illustration):
<cfoutput><table></cfoutput>
<cfoutput query="myQueryName">
<tr<cfif recordcount mod 2>bgcolor="##EOEOEO"</cfif>>
<td>#namefield#</td>
<td><textarea rows="5" cols="20">#longTextField#</textarea>,/td>
.
.
.
</tr>
</cfoutput>
<cfoutput></table></cfoutput>
The use of a textarea is optional, but it is a nice way to
present/control long text fields.
Dick
At 7:01 PM -0500 10/7/00, Mike Weaver wrote:
>I am trying to determine the most straight forward way to output the =
>results of a querry. This query generates a variable amount of returns =
>and would require multiple columns and rows. Would CFLOOP be the best =
>or can CFGRID do this? I would like to utilize an attrative table for =
>the results. Some returns are numerical and some are text; both notes =
>and single addresses.
>
>Thanks for any assistance,
>Mike
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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.