so a simple ... <cfset var qryMyQuery = "">
would do, or is there a better way? >Absolutely. Queries are usually the first thing overlooked and need to be >var scoped because in the end it is just a variable holding complex data. >Always var your query names to keep the data local to the function. > >Dan Vega >http://www.danvega.org/blog/ > >On 6/12/07, D F <[EMAIL PROTECTED]> wrote: >> >> When using the var keyword at the beginning of a cfc function, does one >> need to specify using var the variable names of any queries which are to be >> defined within that cfc function? >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280796 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4