I dunno. How many records do you have? Do you have at least three? This code
has always worked for me.

-d

----- Original Message -----
From: "SMR" <[EMAIL PROTECTED]>
To: "CF-Community" <[EMAIL PROTECTED]>
Sent: Tuesday, November 25, 2003 8:25 AM
Subject: Re: Formatting Column Output

> Yes tried that layout and it doesn't work. I'm getting 1 column.
>   ----- Original Message -----
>   From: Deanna Schneider
>   To: CF-Community
>   Sent: Tuesday, November 25, 2003 9:15 AM
>   Subject: Re: Formatting Column Output
>
>
>   You mean like this?
>   <table>
>   <cfoutput query="myquery">
>
>      <cfif myquery.currentrow mod 3 eq 1>
>         <tr>
>      </cfif>
>            <td>#myquery.myfield#</td>
>      <cfif myquery.currentrow mod 3 eq 0>
>         </tr>
>      </cfif>
>   </cfoutput>
>   </table>
>
>   ----- Original Message -----
>   From: "SMR" <[EMAIL PROTECTED]>
>   To: "CF-Community" <[EMAIL PROTECTED]>
>   Sent: Tuesday, November 25, 2003 7:54 AM
>   Subject: Formatting Column Output
>
>   > Here is my code:
>   > <table>
>   > <cfloop query="getList">
>   >
>   > <cfoutput query="getSystems">
>   > <tr>
>   > <td>#system#</td><td><a
href=""> >   > </tr>
>   >
>   > </cfoutput>
>   >
>   > </cfloop>
>   > </table>
>   >
>   >
>   > I want to format this so I have 3 seperate columns on the screen.
example:
>   >
>   >
>   > <tr>
>   > <td>#system#</td><td><a
href=""> >   > <td>#system#</td><td><a
href=""> >   > <td>#system#</td><td><a
href=""> >   >
>   > </tr>
>   >
>   > Can not get this to work using the <cfif getsystems.currentrow mod 3
IS 0>
>   statement.  I've tried putting the <cfif> and <tr></tr> tags in every
>   combination I can think of but it won't output more then one column.
>   >
>   > Any suggestions?
>   >
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to