Yes, you're missing something, what you need to do is:
<cfset SESSION.Report.Lats[a][1] = latID>  

Greetings from Switzerland
Gert Franz

Railo Technologies       Professional Open Source
skype: gert.franz            g...@getrailo.com
+41 76 5680 231              www.getrailo.com


-----Ursprüngliche Nachricht-----
Von: Stephens, Larry V [mailto:steph...@indiana.edu] 
Gesendet: Freitag, 5. Februar 2010 15:07
An: cf-talk
Betreff: SPAM-LOW: Arrays - humbug! - Part 1


For some reason I have a mental block when it comes to arrays.

At the top of the page is:  <cfset SESSION.Report = StructNew()>

I pull info (if it exists) with a query:
        <cfquery name="GetLats" datasource="#SESSION.ds#">
                SELECT tblLaterals.latID, 
                                tblLaterals.lateralID, 
                                tblLaterals.Why, 
                                [FirstName] & Chr(32) & [LastName] AS Who, 
                                tblPlayers.Title, 
                                tblPlayers.TX, 
                                tblPlayers.FAX, 
                                tblPlayers.Email,
                                tblLaterals.DateSent
                FROM tblLaterals LEFT JOIN tblPlayers ON
tblLaterals.lateralID = tblPlayers.playerID
                WHERE tblLaterals.MasterID=#SESSION.Report.MasterID#
                ORDER BY [FirstName] & Chr(32) &

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330425
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to