There is a couple ways to do it.. here is one of the methods I've used

<!--- table to display the US states and other areas 4 in a row --->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <cfset counter = 1>                     
        <cfoutput query="getstates">
        <!--- counts 4 cells and then starts a new row --->
        <cfif Counter MOD(4) EQ 1>
               <tr>                             
        </cfif>
              <td valign="top" class="css_fblk_md" nowrap>
                #state#
             </td>                      
                     <cfset counter = counter + 1>                      
               <cfif Counter MOD(4) EQ 1>
                        </tr>
        </cfif>
         </cfoutput>
     </tr>
</table>


On Tue, 8 Mar 2005 07:22:45 -0400, Javier Flores <[EMAIL PROTECTED]> wrote:
> I would like to know how to create a dinamic block-table recorset. I don't
> want to show the records one by one. I just want to show 9 fields in a 3 x 3
> table. see the following formation.
> 
> First page
> 
>                        1   2   3
> 
>                        4   5   6
> 
>                        7   8   9
> 
>                           - - - >
> 
> Second page
> 
>                       10  11  12
> 
>                       13  14  15
> 
>                       16
> 
>                      < - - -
> 
> Any ideas?
> 
> Thanxs
> 
> JJ
> 
> ----------------------------------------------------------
> To post, send email to [email protected]
> To unsubscribe:
>   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> To subscribe:
>   http://www.dfwcfug.org/form_MemberRegistration.cfm
> 
>
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to