If it is just a structure with 1 'iteration'

You can treat the keys like a list.

<cfloop list="#structKeyList(structure)#" index="x">
#x# (would be the keyName)
#evaluate(x)# would be the value of the key
</cfloop>

-chris.alvarado
[ application developer ]
4 Guys Interactive, Inc.
http://www.4guys.com 

"We create websites that make you a hero."


-----Original Message-----
From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 31, 2002 2:42 PM
To: CF-Talk
Subject: CFC Question


I know that this has been asked, but I can't find it in the archives

I have created a CFC with a function getTitle. The function has a return

type of struct. After calling the function through CFInvoke, how do I 
loop through the struct to display my data? There doesn't appear to be a

lot of information on this at MM...

Cutter


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to