> -----Original Message----- > From: Mark A Kruger [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 26, 2005 10:41 AM > To: CF-Talk > Subject: RE: Structures vs. "Real Structures" > > This is what Isaac was talking about. > > on CFMX 7 arraySum(queryname.coluname) doesn't work. But > arraySum(queryname['columnName']) does. The trick is getting a reference > to > the array to return from the call.
Yup - my bad. I've been doing that since CF 4.5 and still screw it up. Doing "queryname.columnname" will automatically give you the value of the first row (same as "queryname.columnname[1]"). Using the index notation does return an array reference. Now I'll tattoo that on my eyelid for easy reference... Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207756 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

