 </cffunction>
 <!-------------------------------------------------------------->
 <cffunction name="catnum_to_list" access="public" returntype="query">
+
+	<!----
+
+		INPUT: Query containing cat_num as INTEGER
+
+		OUTPUT: everything except cat_num GROUPed, cat_num as range-containing list in variable catnumlist
+
+	---->
+
     <cfargument name="d" required="true" type="query">
 	<cfset ColLst=d.columnList>
 	<cfset colLst=listdeleteat(colLst,listfindnocase(colLst,"cat_num"))>

	<cfset temp=queryAddColumn(q, "restIds", "VarChar", rAr)>
	<cfreturn q>
</cffunction>

<cffunction name="format_label" access="public" returnType="Query">
	<cfargument name="q" required="true" type="query">

	<cfset geogAr = ArrayNew(1)>

</cffunction>
<!-------------------------------------------------------------->
<cffunction name="format_uam_box" access="public" returntype="Query">
	<!-----
		INPUT: query containing
			geography "fields"
			sex
			other_ids
			collectors
			attributes


		OUTPUT: Query containing manipulated data in
			locality
			sexcode
			idNum
			formatted_collectors
			measurements
			formatted_parts
			formatted_date
	---->
    <cfargument name="d" required="true" type="query">
	<cfset lAr = ArrayNew(1)>
	<cfset sAr = ArrayNew(1)>
