Hi. My CFOUTPUT does not group on column PublicationYear the way that I think it should. =) How can I edit my query or my output to get this result:
"CEP scheduled no meetings in year 2011."
rather than this result:
"CEP scheduled no meetings in year 20112011201120112011201120112011201120112011201120112011201120112011."
I am guessing I cannot group variable #url.selectedYear# on column PublicationYear because variable #url.selectedYear# is not referenced in query getDocumentYears.
Thanks as always for advice. I've been puzzling over this task for a while today.
Eric
Query, getDocumentYears:<!--- query to select document publication years ---><cfquery name="getDocumentYears" datasource="#application.datasource#">SELECT DISTINCT Year(DocumentPublicationDate) AS PublicationYearFROM tbl_CEP_DocumentsORDER BY PublicationYear DESC</cfquery>Output:<p>CEP scheduled no meetings in year <cfoutput query="getDocumentYears" group="PublicationYear" groupcasesensitive="no">#url.selectedYear#</cfoutput>.</p>Example: http://www.cep-dc.org/meetings/index.cfm?selectedYear=2011
<cfif ...>
...
<cfelseif getDocumentsandFiles.recor
<p>CEP scheduled no meetings in year <cfoutput>#url.selectedYea
</cfif>