<cfset stcTempSS1 = StructNew()>
<cfset stcSS1 = StructNew()>
<cfset stcActiveListSS1 = StructNew()>

<CFQUERY NAME="Select" DATASOURCE="ProdCenter" USERNAME="sa"
PASSWORD="">
SELECT  *
FROM Service_Scope
</CFQUERY>

<cfloop query="select">
<cfset stcTempSS1["Service_Scope_ID"] = "#Service_Scope_ID#">
</cfloop>

<cfloop index="key" list="#StructKeyList(stcTempSS1)#">
<cfoutput>#stcTempSS1["#key#"]#</cfoutput>
</cfloop>

************************************************************************
***
I want to dynamically create a structure, but this only writes the last
CurrentRow value into my structure.
How do I fill a structure up with many custom key names and values?

Thank you.
/mdeane
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to