Hi Tom, Ok I sussed it, I have discovered that arguments.aRecord.course_results[i] was not actually passing the Object, to be honest I have no idea what it was passing but whatever it was passing it was wrong. After some further debugging and dumping I have now found that the Object is referenced and passed using: i.
So the revised code is: <cfloop array="#arguments.aRecord.course_results#" index="i"> <cfscript> updateAllResults(i); </cfscript> </cfloop> <cffunction name="updateAllResults" returntype="Boolean" access="public"> <cfargument name="aResult" type="ResultVO"> ........ Thanks all, Simon On 7 Oct 2008, at 13:02, Tom Chiverton wrote: On Tuesday 07 Oct 2008, Simon Bailey wrote: > Unable to invoke CFC - The value coldfusion.runtime.TemplateProxy > cannot be converted to a number. If you CFDUMP or debug just before the loop, what is the value of 'i', 'arguments.aRecord.course_results' and 'arguments.aRecord.course_results[i]' ? -- Tom Chiverton ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313532 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4