Or why not just call your udf like so: displayQuery(query,"TheQuery")
Ie, pass the data _and_ the name. ======================================================================= Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email : [EMAIL PROTECTED] Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Jon Hall [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 20, 2001 6:28 PM > To: CF-Talk > Subject: Re: How can I get a query's name? > > > Dont let Ray hear you say that, and in a UDF too...heh :) > This would work, > but I was hoping there would be a cleaner way. > > jon > ----- Original Message ----- > From: "BILLY CRAVENS" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, December 20, 2001 6:08 PM > Subject: Re: How can I get a query's name? > > > > Why not change your UDF to take the name of the query as a > string, and > when > > referencing your query, use evaluate(). > > > > --- > > Billy Cravens > > > > ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona 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

