Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how dynamicle create table 1

Status
Not open for further replies.

Albert3162

Programmer
Jul 13, 2001
18
US
how dynamicle create table if record count more then Index
do new <td>
 
do you mean, something very different and very much more complicated than this :
<table>
<tr><td>your rows that are ALWAYS displayed
.....
</td></tr>
<cfoutput qery=anyquery ...>
<tr><td>#anyquery.value#</td></tr>
</cfoutput>
</table>
???

(this creates as many ROWS as you have records - you can do the same for CELLS :
...
<tr>
<cfoutput qery=anyquery ...>
<td>#anyquery.value#</td>
</cfoutput>
</tr>
) please check FAQ183-874 :)
 
More details:
I know my Query return 20 rows.
I need show them like
******* *******
******* *******
******* *******
******* *******
******* *******
******* *******
******* *******
******* *******
******* *******
******* *******
I have now like
*******
*******
*******
*******
Tahnks, Albert
 
use row (sorry i don't remember the exact syntax and the search facility is down, so you'll have to read your doc - look for output query row)
<tr>
<cfoutput qery=anyquery ...> // specify that rows goes row+2
<td>#anyquery.value[row]#</td>
<td>#anyquery.value[row+1]#</td>
</cfoutput>
</tr>
please check FAQ183-874 :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top