Thanks Ben...

I'll take a look at that in a little bit! 

-----Original Message-----
From: Ben Nadel [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 23, 2007 11:21 AM
To: CF-Talk
Subject: RE: Question about looping and the first row in a column

Andy,

The way to do it without creating temp variables:

http://bennadel.com/index.cfm?dax=blog:546.view 


.......................
Ben Nadel
Certified Advanced ColdFusion MX7 Developer www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/


-----Original Message-----
From: Jim Wright [mailto:[EMAIL PROTECTED]
Sent: Friday, February 23, 2007 11:56 AM
To: CF-Talk
Subject: Re: Question about looping and the first row in a column

Andy Matthews wrote:
>  
> When I use that code, and compare to "tempFreq", the code works just
fine.
> Why is this happening? Does anyone have wisdom on this because it's 
> really irritating for me to have to have this extra line of code in
here. Anyone?
>  

I think about the best answer you are going to get is "because that is the
way it is".  It is kind of a rite of passage for CF developers when they
realize that one.

One thing I would look into, though, is whether you can re-write your
queries to use a single query, and then use cfoutput with the "group" 
attribute.  That will proably result in some cleaner looking code.  Most
likely faster, too.





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270590
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to