Hey...
Well it has officially happened... I have gone insane. I wrote code over a year ago that answered my own question.. but now I forgot how to do it... and can't find the code!
What I need is... a simple paging through of a recordset that is using nested CFoutputs for a group.
If you understand what I said above... then you most likely have done the same thing.
Any help from the powers that be would be most apprciated.
Along with maybe a great script that handles this sort of thing so I dont have to go through this again.
<cfoutput query="qry_getnews" group="PRESS_YEARS">
YEAR: #UCASE(PRESS_Years)#
<cfoutput group="PRESS_MONTHS">
#UCASE(MONTHASSTRING(PRESS_MONTHS))#
<cfoutput>
#PR_Title#
</cfoutput>
</cfoutput>
</cfoutput>
I think I remember adding in a counter inside the last cfoutput checking for the max to show. And another above the 1st output ## to prevent any trailing headers without results.
Thanks again...
David McIntosh
Have a nice day!
Well it has officially happened... I have gone insane. I wrote code over a year ago that answered my own question.. but now I forgot how to do it... and can't find the code!
What I need is... a simple paging through of a recordset that is using nested CFoutputs for a group.
If you understand what I said above... then you most likely have done the same thing.
Any help from the powers that be would be most apprciated.
Along with maybe a great script that handles this sort of thing so I dont have to go through this again.
<cfoutput query="qry_getnews" group="PRESS_YEARS">
YEAR: #UCASE(PRESS_Years)#
<cfoutput group="PRESS_MONTHS">
#UCASE(MONTHASSTRING(PRESS_MONTHS))#
<cfoutput>
#PR_Title#
</cfoutput>
</cfoutput>
</cfoutput>
I think I remember adding in a counter inside the last cfoutput checking for the max to show. And another above the 1st output ## to prevent any trailing headers without results.
Thanks again...
David McIntosh
Have a nice day!