Actually, due to time, I'm going to have to bag on this idea for now. I'll revisit soon, though. I think the comment mentioned about the local vars is my problem, though. :) Such a simple little thing too!
Thank you anyway...I'll post an answer to it when I figure it out. --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 -----Original Message----- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 2:41 PM To: CF-Talk Subject: Re: Recursion of UDFs Lets see your UDF. maybe there is a bug. On Mon, 25 Feb 2002, Paul Wille wrote: > 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 > > > > ______________________________________________________________________ Why Share? Dedicated Win 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=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

