Hello everyone, I have a flat table of employees (referenced by employee number) that I need to build a dynamic Org chart for. The necessary table information is as such:
empNum fName lName supervisorNum -------------------------------------- 11111 John Smith 22222 Fred Jones 11111 33333 Frank Johnson 22222 I need to represent this data in a struct, where child elements are a struct underneath the parent. I am using a UDF that I recursively call to populate this struct, but my UDF does not continue looping after the first recursion call. Has anyone had this problem before? Any help is certainly appreciated. Cheers, --PWW Paul W. Wille [EMAIL PROTECTED] -------------------------------------------------- Certified Advanced ColdFusion 5 Developer -------------------------------------------------- ISITE Design, Inc. - Solutions Architect www.isitedesign.com 503.221.9860 x110 888.269.9103 503.221.9865 fax ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists