It is assigned to a function that returns a query. Sometime the query get that value and sometimes it doesn't... but if CF is functioning correctly the param setting should initialize that value even though it not returned from my function... or so it seems.
Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be &. Plug in to our blog: A&W Unplugged http://www.austin-williams.com/unplugged -----Original Message----- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: Thursday, June 30, 2011 1:42 PM To: cf-talk Subject: Re: Stupid Question I've seen stuff like this happen if capability_detail.capability_id had been assigned to a function that didnt return a value. For some reason its defined but in some null state. On Thu, Jun 30, 2011 at 11:37 AM, Robert Harrison < rob...@austin-williams.com> wrote: > > If I have these two lines of code: > > <cfparam name="capability_detail.capability_id" default="0"> > <cfset cur_cap="#capability_detail.capability_id#"> > > How should I ever get this message on the second line: > > Element CAPABILITY_ID is undefined in CAPABILITY_DETAIL > > WHAT? > > > Robert B. Harrison > Director of Interactive Services > Austin & Williams > 125 Kennedy Drive, Suite 100 > Hauppauge NY 11788 > P : 631.231.6600 Ext. 119 > F : 631.434.7022 > http://www.austin-williams.com > > Great advertising can't be either/or. It must be &. > > Plug in to our blog: A&W Unplugged > http://www.austin-williams.com/unplugged > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345980 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm