Thanks.
The duplicate() function appears to work on my CF 4.51 sp2 server.
I could not find any documentation on this function in the online docs fo
r
4.5.1.
Did Allaire not include this in the documentation or is it somewhere I am
 not
looking.

Troy

Gyrus wrote:

> > There appears to be a function called duplicate.  I wonder if this is
 onl
> > y in
> > CF5.  I am using CF4.51 sp2.
>
> I think Duplicate() was introduced in 4.5. And yeah, that's the
> way to copy a query object to another variable scope. I think
> it's known as a "deep copy", as opposed to the normal
>
> <cfset queryCopy = queryName>
>
> which just makes queryCopy a "pointer" to the original object.
>
> - Gyrus
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> - [EMAIL PROTECTED]
> work: http://www.tengai.co.uk
> play: http://www.norlonto.net
> - PGP key available
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
______________________________________________________________________
Why Share?
  Dedicated Win 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=coldfusionc
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

Reply via email to