Hello All,

I've read many of you discouraging the use of the 'Evaluate' function, for 
performance reasons. So I ask ...

Say I have code like this (within a cfoutput):

#Evaluate(Request.ThisQuery & ".Name")#, where Request.ThisQuery is the name 
of a query that I set and ".Name" refers to a column in the table that I am 
querying. Obviously this returns the value of the column for that particular 
record.

1. Is there another way to code this to not use Evaluate?

2. If there ISN'T another way, would I be better off from a performance 
standpoint to run the Evaluate function once and set a variable with the 
value that it returns and just call that variable, instead of using Evaluate 
multiple times in the page (hope that made sense)?

Thanks for any help,

Mike Alberts


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to