Re: variables declaration in udfs

2008-11-06 Thread Brian Dumbledore
Good idea. thanks. cfset var LOCAL = StructNew() or {} if on CF8. Then reference all your local vars as LOCAL.queryName etc. Adrian Building a database of ColdFusion errors at http://cferror.org/ I have a udf, to force a query in the udf to be local, I jsut do a cfset var qname = before I do

variables declaration in udfs

2008-11-03 Thread Brian Dumbledore
I have a udf, to force a query in the udf to be local, I jsut do a cfset var qname = before I do the cfquery, I have a bunch of queries and variabels in the udf, is there no other easier way than to put as many cfsets as there are variables???

RE: variables declaration in udfs

2008-11-03 Thread Adrian Lynch
declaration in udfs I have a udf, to force a query in the udf to be local, I jsut do a cfset var qname = before I do the cfquery, I have a bunch of queries and variabels in the udf, is there no other easier way than to put as many cfsets as there are variables