-Original Message-
From: Charlie Griefer [mailto:charlie.grie...@gmail.com]
Sent: 16 August 2009 04:24
To: cf-talk
Subject: Re: odd error calling function in cfc
I'd be really surprised if that was the actual issue. if add_option
was a
reserved word, your initial iteration
hi guys,
i have the following cfc function...
cffunction name=copy_option output=false access=public
cfargument name=product_id type=numeric required=true
cfargument name=existing_product_id type=numeric required=true
cfset getOptions =
You don't really need the CFIF test, since CFOUTPUT will only render if
there are records. Simplify like the example below and see if it still
gives you trouble. If it does, then check that the add_option() method
isn't erroring ...
cfoutput query=getOptions
cfset
you kow what is was... it was the name of the function add_option - i have
renamed to add_new_option and it works.
if someon could explain that one?? is it a reserved word?
You don't really need the CFIF test, since CFOUTPUT will only render
if
there are records. Simplify like the
I'd be really surprised if that was the actual issue. if add_option was a
reserved word, your initial iteration of the loop would have thrown the
error (you said it would successfully complete the first iteration and then
break).
I'm not sure what the issues is, I'm just saying I'd be surprised
5 matches
Mail list logo