<cfloop list="#ldap.ColumnList#" index="column"> <cfset thisColumn="#column#"> <cfset args["#thisColumn#"]=ldap["#thisColumn#"] /> <cfoutput>#args[thisColumn]#</cfoutput> <!--- for debugging ---> </cfloop>
You are missing the row value of the ldap query. Thus your are not getting to the value of the field. When accessing a query with the structure syntax it is queryname[column][row]. So try using ldap[thisColumn][1], you do not need the quotes and pound signs. Also, only use this when you know you have at least one row, and that the first row is the one you want. -------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA --------- | 1 | | --------- Binary Soduko | | | --------- "C code. C code run. Run code run. Please!" - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238650 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54