 <!------------------------------------ parts ---------------------------------------------->
 
 <cffunction name="getChildParts"  returnType="string">
+	<!---- build table row(s) for one part and any attributes ---->
+
 	<cfargument name="pid" type="string" required="yes">
-	<cfargument name="q" type="query" required="yes">
+	<cfargument name="p_q" type="query" required="yes">
+	<cfargument name="l_q" type="query" required="yes">
 	<cfquery name="p" dbtype="query">
 		select
 		*

		where
			part_id=#pid#
	</cfquery>
	<cfif p.recordcount is 0>
		<cfreturn "hi">
	</cfif>
<cfreturn p.part_name>
</cffunction>

<cfquery name="rparts" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">

								<tr>
									<td>
										#part_name#
										<cfset zxc=getChildParts(part_id,rparts,ploan)>
										<cfdump var=#zxc#>
										==#zxc#--
									</td>
