Actually the first query will 'delete' the variable, which will make it undefined, and the second query will recreate it in the default scope.
BTW not sure if my previous message made it through, but I reported it to macrodobe and blogged about it here: http://www.ruslansivak.com/index.cfm/2006/8/17/ColdFusion-Var-Bug > -----Original Message----- > From: Qasim Rasheed [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 17, 2006 12:34 PM > To: CF-Talk > Subject: Re: ColdFusion var bug? > > I would say it's a bug as I can verify this on my local CFMX7 server. It > seems that if you have a DML statement i.e. delete,update or insert and > you > have named that query and if you do a select query afterwards with the > same > query name, CF copies the name to the variables scope. Really strange. > > Thanks, > > On 8/17/06, Andy Allan <[EMAIL PROTECTED]> wrote: > > > > http://www.adobe.com/go/wish > > > > On 17/08/06, Russ <[EMAIL PROTECTED]> wrote: > > > So how would I go about submitting this to macrodobe? > > > > > > > -----Original Message----- > > > > From: Ben Nadel [mailto:[EMAIL PROTECTED] > > > > Sent: Wednesday, August 16, 2006 5:48 PM > > > > To: CF-Talk > > > > Subject: RE: ColdFusion var bug? > > > > > > > > Russ, > > > > > > > > That looks like a bug to me. > > > > > > > > ....................... > > > > Ben Nadel > > > > www.bennadel.com > > > > > > > > -----Original Message----- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250172 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

