RE: ColdFusion var bug?

2006-08-17 Thread Russ
returning a value when the record wasn't previously in the db, but I have fixed is since to return a value in both instances. Russ > -Original Message- > From: Qasim Rasheed [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 17, 2006 8:03 PM > To: CF-Talk > Subject

Re: ColdFusion var bug?

2006-08-17 Thread Qasim Rasheed
Rick, I did tested those scenarios and your suspicions are correct as it works in both these cases A, the DML wasn't named B. Two queries were both select. Thanks, Qasim On 8/17/06, Rick Root <[EMAIL PROTECTED]> wrote: > > Qasim Rasheed wrote: > > I would say it's a bug as I can verify this on

Re: ColdFusion var bug?

2006-08-17 Thread Rick Root
Qasim Rasheed wrote: > 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 variabl

RE: ColdFusion var bug?

2006-08-17 Thread Russ
x.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 s

RE: ColdFusion var bug?

2006-08-17 Thread Russ
Thank you, that worked perfectly. Don't know why it wasn't letting me do the same select statement inside the if... > -Original Message- > From: Sixten Otto [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 16, 2006 8:05 PM > To: CF-Talk > Subject: Re: Col

Re: ColdFusion var bug?

2006-08-17 Thread Qasim Rasheed
; > 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. > > > > >

RE: ColdFusion var bug?

2006-08-17 Thread Russ
k > Subject: RE: ColdFusion var bug? > > Go/wish > > > > > -Original Message- > From: Russ [mailto:[EMAIL PROTECTED] > Sent: 17 August 2006 13:36 > To: CF-Talk > Subject: RE: ColdFusion var bug? > > So how would I go about submitting this to macrodo

Re: ColdFusion var bug?

2006-08-17 Thread Tom Chiverton
On Thursday 17 August 2006 13:36, Russ wrote: > So how would I go about submitting this to macrodobe? Wish list. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership regi

RE: ColdFusion var bug?

2006-08-17 Thread Robertson-Ravo, Neil (RX)
Go/wish -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: 17 August 2006 13:36 To: CF-Talk Subject: RE: ColdFusion var bug? So how would I go about submitting this to macrodobe? > -Original Message- > From: Ben Nadel [mailto:[EMAIL PROTECTED] > Sent:

Re: ColdFusion var bug?

2006-08-17 Thread Andy Allan
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:

RE: ColdFusion var bug?

2006-08-17 Thread Russ
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, > >

Re: ColdFusion var bug?

2006-08-17 Thread Rick Root
Russ, It looks like a bug to me. You've var scoped a variable in one component method, and it seems to be available in the other. The second method should fail with the variable myQryTest being undefined. Rick ~| Introducin

Re: ColdFusion var bug?

2006-08-16 Thread Sixten Otto
>Is there a way to make it return a value if the id is already in the >database? How about: declare @tableId int select @tableId = tableid from table where someotherID=#arguments.someotherID# if @tableId is null begin insert into table (

RE: ColdFusion var bug?

2006-08-16 Thread Russ
to make it return a value if the id is already in the database? Russ > -Original Message- > From: Ian Skinner [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 16, 2006 5:39 PM > To: CF-Talk > Subject: RE: ColdFusion var bug? > > Is this a CF bug? I got around i

RE: ColdFusion var bug?

2006-08-16 Thread Ben Nadel
Russ, That looks like a bug to me. ... Ben Nadel www.bennadel.com -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 5:33 PM To: CF-Talk Subject: ColdFusion var bug? Looks like I found a bug in coldfusion in regards to varing

RE: ColdFusion var bug?

2006-08-16 Thread Ian Skinner
Is this a CF bug? I got around it by creating a local struct and then putting those variables into that struct, but in general, this is not intended behaviour, correct? Probably not, but you also do not need the name parameter for the first query since, as you say, it does not return a value