ha...

-----Original Message-----
From: Jim Davis [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 26, 2005 10:08 AM
To: CF-Talk
Subject: RE: Structures vs. "Real Structures"


> -----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







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207782
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to