untested:
ArrayToList(Arguments.Query[Arguments.Unique])
On 26/01/07, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
>
> Here's an interesting one. A CF component method is passed a query and a
> string who's value is the name of one of the query's columns. I want to use
> the valuelist() function against the passed query and columnname. I can get
> it working using this:
> <CFSET var Items = evaluate('ValueList(
> Arguments.Query.'&Arguments.Unique&')')>
> Arguments.Query is the query being passed in and Arguments.Unique is the
> name of a column.
>
> Can anyone think of a way to do this without the evaluate statement?
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http: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:267758
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4