Community Member Profile
- Profile: /members/3902-Vlad.htm
- Comments: 4
- Points: 41
Recent Blog Comments By Vlad
-
Dynamic ColdFusion Variables Via Quoted Naming
Posted on Jul 27, 2009 at 11:42 AM
@Azadi, thank you , I've tried your example: <cfoutput query ="q1"> #q1['string_' & APPLICATION.language][2]# </cfoutput> and result is the same value. It looks like it does not loop (i dont want to use cfloop)... read more »
-
Dynamic ColdFusion Variables Via Quoted Naming
Posted on Jul 24, 2009 at 11:24 PM
Looks like query notation doesnt work for me. Here is my example tha works: <cfoutput query="q1">#evaluate('string_' & APPLICATION.language)# </cfoutput> This doesnt work: <cfoutput>#q1['string_' & APPLICATION.language]# </cfoutput> Error:Complex o... read more »
-
Dynamic ColdFusion Variables Via Quoted Naming
Posted on Jul 24, 2009 at 10:10 AM
Thanks for reply, Ben. Problem was that I had to use evaluate. This is correct: #evaluate('name_' & variable)#... read more »
-
Dynamic ColdFusion Variables Via Quoted Naming
Posted on Jul 23, 2009 at 9:41 PM
I'm trying to create name of variable1 from string and another variable2 - for example APPLICATION.language. <cfset variable1 = 'name_' & APPLICATION.language> and then use is as a table in query <cfquery name ="q1">SELECT * FROM table</query> <cfoutput... read more »



