Patric,
            I am not sure what you are trying to do?
            Do you want to put a database query results in the
            format described below??
If so, here is the code.
<cfquery Name="Get_Data" datasource="">
Select *from your_table.
</cfquery>


<table width="400" align="center" border="1">
<tr>
<cfoutput query="Get_data">
<td>#Your_Column#</td>
<cfif Get_Data.currentrow Mod 3 eq 0>
</tr><tr>
</cfif>
</cfoutput>
</tr>
</table>

Hope this helps

Joe


----- Original Message -----
From: "Patric Stumpe" <[EMAIL PROTECTED]>
To: "Cf-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, May 28, 2000 1:34 PM
Subject: Another Query to Table


> Well, another problem.
>
> I read the thread about 'Query to Table' but it didn't fit my need for
> generating a table with three columns in the following format:
>
> 1   5   9
> 2   6   10
> 3   7   11
> 4   8   12
>
> Then it should easily be possible to alter the row's bgcolor every second
> row.
>
> Thanks...
>
> Patric Stumpe
>
>
>
> --------------------------------------------------------------------------
----
> 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.
>

------------------------------------------------------------------------------
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