Hi Experts,
Anyone who can give some tips on how to create an output below. I have a table name table1 which has 3 columns IDNum, Child, name.
If Child is EQ to IDnum then name will display just like the main topic, if Child is NOT EQ to IDNum then the name will display just like a sub topic of the main.
-----------------------------------------------------------
Table: table1
IDNum Child name
1 1 Pr1
2 1 Pr1-1
3 3 Pr2
4 3 Pr2-1
5 2 Pr1-1-1
6 6 Pr3
7 7 Pr4
8 1 Pr1-2
9 6 Pr3-1
-----------------------------------------------------------
Output:
Pr1
Pr1-1
Pr1-1-1
Pr1-2
Pr2
Pr3
Pr3-1
Pr4
John,
Anyone who can give some tips on how to create an output below. I have a table name table1 which has 3 columns IDNum, Child, name.
If Child is EQ to IDnum then name will display just like the main topic, if Child is NOT EQ to IDNum then the name will display just like a sub topic of the main.
-----------------------------------------------------------
Table: table1
IDNum Child name
1 1 Pr1
2 1 Pr1-1
3 3 Pr2
4 3 Pr2-1
5 2 Pr1-1-1
6 6 Pr3
7 7 Pr4
8 1 Pr1-2
9 6 Pr3-1
-----------------------------------------------------------
Output:
Pr1
Pr1-1
Pr1-1-1
Pr1-2
Pr2
Pr3
Pr3-1
Pr4
John,