 				<cfloop list="#clist#" index="column_name">
 					<th>#column_name#</th>
 				</cfloop>
+			</tr>
 			<cfloop query="data">
 				<tr>
 					<cfquery name="thisRec" dbtype="query">
 						select * from data where collection_object_id=#data.collection_object_id#
 					</cfquery>
 					<td>
-						<cfset r=de.checkExtendedData(collection_object_id)>
+						<cfset r=de.checkExtendedData(data.collection_object_id)>
+						<cfdump var=#r#>
 						<cfloop collection="#r#" item="key" >
 							<br>#key#
 							<div style="margin-left:1em;">

		order by internal_column_id
	</cfquery>

	<cfset clist="extras,collection_object_id,#valuelist(cNames.column_name)#">

	<div class="blTabDiv">

<!----------------------------------------------------------->
<cfif action is "showExtras">
<cfoutput>
	<cfset de = CreateObject("component","component.DataEntry")>

	<cfset sql = "select * from bulkloader where 1=1">
