just to add that if I do this:
<cfset finObj = createObject("component","queries.QRY_financial")>
<cfset t = finObj.setDsn(myDsn)>
<cfdump var="#finObj.getDsn()#">
it works fine and I get the correct string back.
P.S. I had forgot to scope the dsn in the variables scope in the original post
> <cffunction name="getDsn" access="public" output="false"
>returntype="string">
> <cfreturn variables.dsn />
> </cffunction>
>
> <cffunction name="setDsn" access="public" output="false"
>returntype="void">
> <cfargument name="dsn" type="string" required="true" />
> <cfset variables.dsn = arguments.dsn />
> <cfreturn />
> </cffunction>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265786
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4