Posted:
16-July-2008 18:45 My database contains a bill-of-material structure that I want to represent onscreen. Example : a server A consists of parts A1, A2, A3, each of which consist of sub-parts ... and so on. The table on database has rows like this : A, A1 A, A2 A, A3 A1, A11 A1, A12 A1, A13 and so on
What I'd like to show onscreen is the structure ... A A1 A11 A12 A13 A2 A3 and so on. Now, how would I go about this ? I've been studying the Fibonacci example and doing this recursively would be very elegant. Can anyone give me some pointers how to go about this ?
Regards, Tom |