how to output to correct month and year using group?
From the query GetTotalStars i get the correct data:
So right now im oupting the results depending on the month , and i have another query that
gets me the months:
select distinct [month] from GetTotalStars order by [month],
But the problem is that is not all the totalstars is outputing to the correct month.
How will i be able to output the results in the correct month and year,
since right now i only have 2014 data, but obviously someday i will have 2015.
so will be like having two different tables 2015 and 2014.
<thead>
<tr>
<th>Department</th>
<cfoutput query="qryMonths">
<th>#MonthAsString(qryMonths.month)#</th>
</cfoutput>
</tr>
</thead>
<tbody>
<cfoutput query="GetTotalStars" group="csedept_name">
<tr>
<td >#GetTotalStars.csedept_name#</td>
<cfoutput group="month" >
<td>#GetTotalStars.totalstars#</td>
</cfoutput>
</tr>
</cfoutput>
</tbody>
</table>
