|
<HTML><BODY>
<cfset variables.max_records_in_table =
100>
Please
wait while your request is processed...
<cfflush>
<cfquery name="get_data" ...>
</cfquery>
<TABLE border=0 width="100%">
<TR><TD width="40%">Field
1</TD><TD width="60%">Field
2</TD></TR>
<cfset variables.records_in_table
= 0>
<cfoutput
query="get_data">
<cfif
variables.records_in_table GT
variables.max_records_in_table>
</TABLE><TABLE border="0">
<cfset variables.records_in_table = 0>
</cfif>
<TR>
<TD width="40%">#get_data.field_1#</TD>
<TD width="60%">#get_data.field_2#</TD>
</TR>
<cfset
variables.records_in_table = variables.records_in_table +
1>
</cfoutput>
</TABLE>
</BODY>
Instead of width in percentages you
could use absolute, but I prefer percentages because then your table can
grow/shrink to fit the browser depending on page width/screen
resolution
etc...
Terry Fielder
Network Engineer Great Gulf Homes / Ashton Woods Homes [EMAIL PROTECTED]
|
