The ValueList() function takes as its attribute the name of a query field. This is 
passed in without quotes (essentially breaking the rule of non-quoted variables inside 
functions being evaluated). What I want to do is create a UDF and pass in a query and 
the name of a column. These are to be combined within a ValueList() to be evaluated. 

var Items = ValueList(evaluate('Query.'&ItemID));

This fails. Does anyone have a suggestion as to how I can create the attribute for the 
valuelist dynamically or should I just run a loop (which is just a few milliseconds 
slower).

Michael Dinowitz
Master of the House of Fusion
http://www.houseoffusion.com

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to