Advertisement
Advertisement
| 04.08.2008 at 06:44AM PDT, ID: 23304510 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: |
<cfloop query="getReport">
<cfif lastEmp neq EmployeeiD>
<cfif lastEmp neq "***">
<tr>
<td valign="top" >#arryEmployees[1]#</td>
<td valign="top" class="tdctr">#arryEmployees[2]#</td>
<td valign="top">#holdemp#</td>
<cfloop from="1" to="#ArrayLen(arryCourses)#" index="i">
<cfif coursename eq "#arryCourses[i][3]#" and completionDate gt "">
<td valign="top" class="tdctr"></td>
<cfelseif coursename neq "#arryCourses[i][3]#" and completiondate eq "">
<td valign="top" class="tdctr">X</td>
<cfelse>
<td valign="top" class="tdctr">N/A</td>
</cfif>
</cfloop>
</tr>
</cfif>
<cfset holdemp = "#last_Name#, #First_Name#">
</cfif>
<cfif lastLocation neq LocationID>
<cfif lastLocation neq "***">
<tr>
<th valign="top" class="yellowBgCenter">#arryEmployees[1]#</th>
<th valign="top" class="yellowBgCenter">#arryEmployees[2]#</th>
<th valign="top" class="yellowBgCenter">Totals</th>
<cfloop from="1" to="#ArrayLen(arryCourses)#" index="i">
<td valign="top" class="yellowBgCenter">#arryCntTotals[i][1]#</td>
<cfset arryCntTotals[i][1] = 0>
</cfloop>
</tr>
</cfif>
</cfif>
<!--- process this record --->
<cfset arryEmployees[1] = "#Name#">
<cfset arryEmployees[2] = "#locationID#">
<cfset lastEmp = EmployeeiD>
<cfset lastLocation = LocationID>
</cfloop>
|