[cfaussie] Re: Weird Problem Element is Undefined problem

2009-11-25 Thread KC Kuok
t; > structure, > > But rather a pointer to the original. So if you modify the original, it can > > sometimes cause > > some changes (desired or otherwise) in the copy. > > > Regards, > > Adam > > > -Original Message----- > > From: KC Kuok

[cfaussie] Re: Weird Problem Element is Undefined problem

2009-11-25 Thread KC Kuok
ometimes cause > some changes (desired or otherwise) in the copy. > > Regards, > Adam > > -Original Message- > From: KC Kuok [mailto:kck...@gmail.com] > Sent: Wednesday, 25 November 2009 9:44 PM > To: cfaussie > Subject: [cfaussie] Re: Weird Problem Element is U

[cfaussie] Re: Weird Problem Element is Undefined problem

2009-11-25 Thread Adam chapman
red or otherwise) in the copy. Regards, Adam -Original Message- From: KC Kuok [mailto:kck...@gmail.com] Sent: Wednesday, 25 November 2009 9:44 PM To: cfaussie Subject: [cfaussie] Re: Weird Problem Element is Undefined problem Hi guys, just finished reading the replies... I think the sc

[cfaussie] Re: Weird Problem Element is Undefined problem

2009-11-25 Thread KC Kuok
Hi guys, just finished reading the replies... I think the scope is probably the best shot, I will give that a go first thing in the morning... I am leaning towards a scope issue, probably caused by a extended cfc having the identically named variable, i should really have checked for that first..

[cfaussie] Re: Weird Problem Element is Undefined problem

2009-11-25 Thread Adam Cameron
If you do a collection/item loop over the struct, can you fetch the value? Is there any chance the key has got some leading or trailing space in it, which would not be completely obvious in a ? Can you post your actual code in which you're seeing this? There might be a typo you're not seeing, or

[cfaussie] Re: Weird Problem Element is Undefined problem

2009-11-25 Thread BarryC
Make sure you specify the scope (not sure if it will help, but it might) e.g. request.myStruct On Nov 25, 8:00 pm, MrBuzzy wrote: > Hi Chong, > > I'd ckeck for null by using IsDefined and dot notation. While the key > may exist, the value could be null. > > Something like; > > > > > > > > Or

Re: [cfaussie] Re: Weird Problem Element is Undefined problem

2009-11-24 Thread Blair McKenzie
Is it possible "x in y" is returning items that aren't technically struct keys? Blair On Wed, Nov 25, 2009 at 5:05 PM, KC Kuok wrote: > Before i forget STRUCTVARIABLE = structCopy(Bigstruct.byExportKey > [ExportID]) was without the structCopy before... did not make a > difference... > > On Nov

[cfaussie] Re: Weird Problem Element is Undefined problem

2009-11-24 Thread KC Kuok
Before i forget STRUCTVARIABLE = structCopy(Bigstruct.byExportKey [ExportID]) was without the structCopy before... did not make a difference... On Nov 25, 5:04 pm, KC Kuok wrote: > The struct is copied from a struct of struct generated earlier in the > process, which parses an xml file... > Then

[cfaussie] Re: Weird Problem Element is Undefined problem

2009-11-24 Thread KC Kuok
The struct is copied from a struct of struct generated earlier in the process, which parses an xml file... Then it loops through the Struct of Structs to do the logic. I am amazed that I can do a dump of the variable and the temp Struct on the line right before, but yet it says it is undefined when