Hey Acoder,
I don't have the hidden input field in the partsdisplay.cf m page because it comes after the parts div. Should i add it to partsdisplay.cf m? i tried the following below but it didn't work. Didn't tell me the pacific problem just didn't work. An i tried moving the hidden field from the serialpartsdisp lay.cfm to partsdisplay.cf m an that didn't seem to make a difference no matter where it was.
here is what i got in full on serialpartsdisp lay.cfm page is this correct?
Thank you,
Rach
I don't have the hidden input field in the partsdisplay.cf m page because it comes after the parts div. Should i add it to partsdisplay.cf m? i tried the following below but it didn't work. Didn't tell me the pacific problem just didn't work. An i tried moving the hidden field from the serialpartsdisp lay.cfm to partsdisplay.cf m an that didn't seem to make a difference no matter where it was.
here is what i got in full on serialpartsdisp lay.cfm page is this correct?
Code:
<cfquery name="getparts" dbtype="query" > SELECT * FROM parts WHERE fk_serialNo=<cfqueryparam value="#pka_serialNo#" cfsqltype="cf_sql_char" maxLength="20"> </cfquery> <cfset count1 = 0> <cfloop query="getparts"> <cfset count1 = count1 + 1> <cfset hc_partNo = #hc_partNo#> <cfset part_returned = #part_returned#> <cfset defective = #defective#> <cfset rma_number = #rma_number#> <cfinclude template="partsdisplay.cfm"> </cfloop> <cfif getparts.recordcount is 0> <cfset count1 = 1> <cfset hc_partNo = ""> <cfset part_returned = ""> <cfset defective = ""> <cfset rma_number = ""> <cfinclude template="partsdisplay.cfm"> </cfif>
Rach
Comment