Recursion. Research it.

On 9/29/05, Mike Appenzellar <[EMAIL PROTECTED]> wrote:
>
>  I have a database structure setup as follows:
> ID NAME PID
> 1 Level1 0
> 2 Level2 0
> 3 Level3 0
> 4 SubLevel1 1
> 5 SubLevel2 2
> 6. SubSub1 4
> and so on...
> Right now I have nested loops that take care of this BUT the problem is
> that I have to pre-plan on how many potential levels there might be. I
> would
> like to somehow right my queries or loops to plan for an unlimitied amount
> of levels.....any ideas?


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to