 			where
 				OTHER_ID_TYPE='#origData#'
 		</cfquery>
+		<cfset did=rereplace(other_id_type,"[^A-Za-z]","_","all")>
+
 	<cfelseif tbl is "ctattribute_code_tables">
 		<cfquery name="sav" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
 			UPDATE ctattribute_code_tables SET

				partname = '#oldpartname#' AND
				list_order = '#oldlist_order#'
		</cfquery>
	<cfelse>
		<cfquery name="up" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			UPDATE #tbl# SET #fld# = '#thisField#'

				 AND collection_cde='#origcollection_cde#'
			</cfif>
		</cfquery>
		<cfset did=rereplace(fld,"[^A-Za-z]","_","all")>
	</cfif>
	<cflocation url="CodeTableEditor.cfm?action=edit&tbl=#tbl####did#" addtoken="false">


	</cfif>
