Eric:

http://tutorial140.easycfm.com/
http://tutorial141.easycfm.com/

hth,
charlie

  -----Original Message-----
  From: Eric Hoffman [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 16, 2003 9:38 PM
  To: CF-Talk
  Subject: RE: Goofy Rows Questions

  I did a hack and made it work, good enough for now, thanks all.

  Eric

    _____

  From: Eric Hoffman [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 16, 2003 11:29 PM
  To: CF-Talk

  Tony, thanks for the pointer...

  Wow...am I out of it...

  It is breaking at row 1, 3, and 5 instead of 2 4 and 6.   Ideas?

  Eric

    _____

  From: Tony Weeg [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 16, 2003 11:05 PM
  To: CF-Talk

  hello eric.

  do this.

  in your looping, check to see if the queryname.currentRow mod 2
  and if so, add a <tr> and start a new row.

  <table>
      <tr>
          <cfloop query = "yourQuery">
              <td></td>
              <cfif yourQuery.currentRow mod 2>
                  </tr>
              <cfelse>
                  <td></td>
              </cfif>
      </cfloop>
  </table>

  this should work like a charm, closing the row if its the second one,
  making another cell if its not the second one.
  and if you wanted to make three of them, just make it mod 3, and so on.

  hth
  tony

  -----Original Message-----
  From: Eric Hoffman [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 16, 2003 11:53 PM
  To: CF-Talk
  Subject: Goofy Rows Questions

  This is elementary I am sure, but brain is fried out...

  I have some records that need to be displayed left to right, 2 columns
  per
  row...

  So,
  Column 1    Column 2
  (record 1) (record 2)
  (record 3)  (record 4)

  How do I do something this simple?  All the monkey business I am
  figuring
  out does one long column.  *sigh*  Why don't they make Jolt cola
  anymore???!

  Regards,

  Eric J. Hoffman
  DataStream Connexion
  www.datastreamconnexion.com

    _____

    _____

    _____


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to