you prob have a struct of arrays. so it is probably yourstruct.results.date[x] where x is the row. The constents of result are prob an array which you can loop over.
It would be easier if you could put up a page with the CFDUMP output so we can see the exact format. On Fri, Oct 19, 2012 at 12:22 PM, polyhex <[email protected]> wrote: > > Hi > > Confusing title I know, but I'm trying to implement the ColdFusion wrapper > for Campaign Monitor and I can get loads of basic lists back, but I've got > to a query which now displays the results of the query within a results > field. > > Eg. doing a cfdump I see the fields > NUMBEROFPAGES PAGENUMBER RESULTS TOTALNUMBEROFRECORDS > > and within the Results fields there is another table with the fields: > > DATE EMAILADDRESS NAME STATE > > I'm trying to get the date, emailaddress and name fields and I'm not sure > of the syntax. > I use cfloop to query the list that gets created - <cfloop > query="listsumm"> > but outputting #listsumm.date#, #listsumm.emailaddress# returns the > message: Element DATE is undefined in LISTSUMM. > > It's probably a basic question, but any help in working out the syntax for > retrieving these fields would be appreciated. > > Thanks in advance. > > Colin > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352954 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

