 
 	</script>
 <cfoutput>
-		<cfquery name="thisRec" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
+		<cfquery name="ctspecimen_part_list_order" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
 			select * from ctspecimen_part_list_order order by list_order,partname
 		</cfquery>
 

		Edit part order

		<form name="part" method="post" action="CodeTableEditor.cfm">
					<input type="hidden" name="action" value="ctspecimen_part_list_order">
					<input type="hidden" name="tbl" value="#tbl#">

					<input type="text" name="classificationRowOrder" id="classificationRowOrder">

			<table id="clastbl" border="1">
				<thead>
					<tr>
						<th>Drag Handle</th>
						<th>Part Name</th>
					</tr>
				</thead>
				<tbody id="sortable">
					<cfset thisrowinc=0>
					<cfloop query="thisRec">
						<!--- increment rowID ---->
						<cfset thisrowinc=thisrowinc+1>
						<tr id="cell_#thisrowinc#">

							</td>

							<td>
								#partname#
								<input type="hidden" name="partname_#thisrowinc#" id="partname__#thisrowinc#" value="#partname#">
							</td>
							<td>
								clicky....
							</td>
						</tr>

