 					AND	units_code_table = '#oldunits_code_table#'
 				</cfif>
 		</cfquery>
-	<cfelseif tbl is "ctspecimen_part_list_order">
-		<cfquery name="del" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
-			DELETE FROM ctspecimen_part_list_order
-			WHERE
-				partname = '#oldpartname#' AND
-				list_order = '#oldlist_order#'
-		</cfquery>
 	<cfelse>
 		<cfquery name="del" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
 			DELETE FROM #tbl#


		function submitForm() {
			var linkOrderData=$("#sortable").sortable('toArray').join(',');
			$( "#classificationRowOrder" ).val(linkOrderData);

		}


		<cfset did=rereplace(Attribute_type,"[^A-Za-z]","_","all")>

	<cfelseif tbl is "ctspecimen_part_list_order">
		<!--- wipe everything --->
		<cftransaction>
			<cfquery name="d" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
				delete from ctspecimen_part_list_order
			</cfquery>
			<cfloop from="1" to="#listlen(partRowOrder)#" index="listpos">
				<cfset x=listgetat(partRowOrder,listpos)>
				<cfset i=listlast(x,"_")>
				<cfset thisterm=evaluate("partname_" & i)>
				<cfquery name="insNCterm" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
					insert into ctspecimen_part_list_order (
						PARTNAME,
						LIST_ORDER
					) values (
						'#thisterm#',
						#i#
					)
				</cfquery>
			</cfloop>
		</cftransaction>
		<cfset did="">
	<cfelse>
		<cfquery name="up" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			UPDATE #tbl# SET #fld# = '#thisField#'
