I got an answer.
I needed to have a row as well as a column identifier.

<cfloop list="#ldap.ColumnList#" index="column">
  <cfset args[column]=ldap[column][1] />
</cfloop>

Joelle

Joelle Tegwen wrote:
> Well I can't get it to output to the screen now (maybe that has 
> something to do with the parent structure now being in the application 
> scope? I don't know.)
> But I was printing it out before and I would get an output that looked 
> like this:
>
> query 1 rows
> uid             displayName
> tegwe002   Joelle Tegwen
>
> args is defined further up in the function
>         <cfset args=structNew() />
>
>
> ldap is a query.
>
> Thanks
> Joelle Tegwen
>
> Michael Dinowitz wrote:
>   
>> You might want to do a CFDUMP on the ldap variable to see what it actually 
>> contains. 
>>             <cfloop list="#ldap.ColumnList#" index="column">
>>                 <cfset thisColumn=column>
>>                 <cfset args[thisColumn]=ldap[thisColumn]>
>>                 <cfoutput>#args[thisColumn]#</cfoutput> 
>>             </cfloop>
>> Is args defined? 
>> Is ldap a structure that you can use structure syntax against?
>>
>>
>>   
>>   
>>     
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1809
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to