 						<td>#remarks#</td>
 						<td>#spccnt#</td>
 						<td nowrap>
-							<cfif len(table_name) gt 0>
+							<cfif len(table_name) gt 0 or len(collection_object_id) gt 0>
 								<div class="likeLink" onclick="listEnc#i#.Action.value='saveEncumbrances';listEnc#i#.submit();">
 									[ Add Listed Items (in table below) to this Encumbrance]
 								</div>

				WHERE
					flat.collection_object_id=coll_object_encumbrance.collection_object_id (+) AND
					coll_object_encumbrance.encumbrance_id = encumbrance.encumbrance_id (+) AND
					flat.collection_object_id IN (
						select collection_object_id from #table_name#
					)
				ORDER BY
					flat.collection_object_id
			</cfquery>


			<cfdump var=#getdata#>


		<hr>

	<cfoutput>
		<cfset title = "Search for specimens or encumbrances">
		<p>
			<cfif len(table_name) gt 0 or len(collection_object_id) gt 0>
				Now find an encumbrance to apply to or remove from the specimens below. If you need a new encumbrance, create it
				first then come back here.
			<cfelse>
