I'm just shooting from the hip...

Any chance this is an issue with nested loops?
There is buggish behaviour around nested loops / queries.

I was so stumped (with my issue) I sent an email off to ben nadel and his "Ask 
Ben" column for help;
The link is;
http://www.bennadel.com/blog/546-Referring-To-The-Proper-Row-Of-The-Outer-CFLoop-With-Nested-CFLoops-.htm

Just in case it turns out to be the same issue for you.


Gavin.


On 25/11/2009, at 16:37 , KC Kuok wrote:

> When I try to get key value from a structure I get an error however if
> I do a dump function, I can see the struct AND the variable which is
> referred to similarly.
> 
> E.g.
> ...
> ThisValue = STRUCTVARIABLE.THISFOREIGNKEY;
> ...
> 
> I get
> 
> Element THISFOREIGNKEY is undefined in STRUCTVARIABLE
> 
> However If I do a dump function, dodump(STRUCTVARIABLE) or even dodump
> (STRUCTVARIABLE.THISFOREIGNKEY ) just before that line I can see the
> entire structure or just the value respectively. I can't see what is
> wrong, could this be a cfscript related bug ? Or am I missing
> something real obvious ?
> 
> One of the things I thought maybe wrong is the scope, but even then it
> does not seem that anything is wrong with it...
> 
> Dodump() is just a regular cffunction which passes the args to cfdump
> inside.
> 
> Any thoughts?
> 
> Thanks in advance!
> Chong
> 
> --
> 
> You received this message because you are subscribed to the Google Groups 
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to 
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/cfaussie?hl=en.

As always, please contact me if I can be of any further assistance.



Gavin "Beau" Baumanis
Senior Application Developer
PalCare P/L

657 Nicholson Street
Carlton North
Victoria, Australia, 3054

E: b...@palcare.com.au
P: +61 -3 9380 3513
M: +61 -438 545 586
W: http://www.palcare.com.au

--

You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.


Reply via email to