Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
murpg #1
Help PLEASEEEEEE With CurrentRow Issue
I would like to display 6 records in row then go to the next row. I would like
to do this without using a table. I would also like to me able to drop the
hyphen - after the 6th record and the last row. I am working with a table now.
I would like to discard the table. Here is my code.
<table border="0">
<tr> <cfoutput query="Recordset2">
<td align="center">
<a href="#Recordset2.BAFilename#?ID=#Recordset2.ID#<c fif recordset2.tablealign
IS ""><cfelse>&tablealign=#Recordset2.tablealign# </cfif><cfif recordset2.colnbr
IS ""><cfelse>&colnbr=#Recordset2.colnbr#</cfif><cfif Recordset2.linenbr IS
""><cfelse>&linenbr=#Recordset2.linenbr#</cfif>" <cfif url.ID EQ
#RecordSet2.ID#>style="color:##008062"<cfelse>styl e="color:##666699"</cfif>>#Rec
ordset2.PortfolioTexT#</a> -
</td>
<cfscript>
if (Recordset2.CurrentRow mod 6 eq 0 AND NOT Recordset2.CurrentRow eq
Recordset2.RecordCount) {
writeoutput("</tr><tr>");
}
</cfscript>
</cfoutput> </tr>
</table>
murpg Guest
-
PLEASE I Need Help with CurrentRow Issue
I would like to display 6 records in row then go to the next row. I would like to do this without using a table. I would also like to me able to... -
CurrentRow Problem
I would like to display 6 records in row then go to the next row. I would like to do this without using a table. I would also like to me able to... -
CurrentRow
In the tutorial the author says: The CurrentRow variable is one of a few variables that ColdFusion automatically exposes that provide information... -
CFLOOP/CURRENTROW
I have a LOOP that runs over a query and I use CURRENTROW so that I can then use MOD on it so I can utilize repeating ARRAY data to change the color... -
A cheeky Question ??? PLEASEEEEEE
Im very new to flash...i know this is cheeky...but im losing my witts ere....i realy want to have a page to contact me on.....(well my gf) and i... -
zorg #2
Re: Help PLEASEEEEEE With CurrentRow Issue
seems like you got the right idea...
if you want to get rid of the table, use <br> instead of </tr><tr>
then for the hyphen <cfif currentrow mod 6 neq 0>-</cfif>
should only add the hyphen on thins not evenly devided by 6.
zorg Guest



Reply With Quote

