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. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270586 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

