Where “myVar” is part of the VARIABLES scope. Is it possible to evaluate “myVar” first, then have its result used in the evaluation of the query variable?
I hope this makes sense. Thank you in advance for any help with this.
Depended on how bothered you are but Evaluate is a bottleneck on performance and in the vast majority of times can be done another way, hence why I was asking the column structure returned by your query
Can you not use - qColors[myVar] or if square brackets disagree with querying then try ().
Yeap - Do a Google on ColdFusion Evaluate and read the raving reviews it gets
No worries Ant - I’m just saying it’s something to be aware of when using that function. In most cases you can find a better / quicker approach, but I can’t make any decent suggestions until I know the structure of your database “color” table