Opps. I used <cfset name = "" /> didn't put variables in this instance. I wanted them to only be part of the cfc.
Steve -----Original Message----- From: DURETTE, STEVEN J (ATTASIAIT) Sent: Tuesday, February 02, 2010 1:50 PM To: cf-talk Subject: RE: difference between cfproperty and variables defined with This scope According to the docs, cfproperty only sets Metadata. I just did this recently and even though I could set the initial values I had trouble changing them and using them just inside the cfc. I resorted to <cfset variables.name = "" /> Notice that there is no var in there. If the variables are outside of a function, you cannot use var. Steve -----Original Message----- From: fun and learning [mailto:funandlrnn...@gmail.com] Sent: Tuesday, February 02, 2010 1:39 PM To: cf-talk Subject: difference between cfproperty and variables defined with This scope Hi All, Can anyone please tell me the difference between cfproperty tag and variables defined using this scope. Both are used to define CFC properties? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330350 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4