Hey,
I have not found a good way to do this yet. I am hoping you guys might have a solution. It's 3rd party and not my design and I can't change it.
I have a table with an Id in one field and related records in a second field.
Related records can be... Child records start with C, Linked records start with just a number and Parent records start with a P. You could have all 3 in one field.
id relatedid
10098 14574 C16322
3312 C3261
33067 33071 C33113 P33180
33072 C33073 C33273
33058 33066
7903 P7898
30837 P30838 C30839
I need to a query to use in a report showing parents and childred. So I need to break it down like...
id type relatedid
10098 14574
10098 C 16322
3312 C 3261
33067 33071
33067 C 33113
33067 P 33180
33072 C 33073
33072 C 33273
33058 33066
7903 P 7898
30837 P 30838
30837 C 30839
Then join the master and subs in one query so I can report it.
Thanks for the help
Simi
I have not found a good way to do this yet. I am hoping you guys might have a solution. It's 3rd party and not my design and I can't change it.
I have a table with an Id in one field and related records in a second field.
Related records can be... Child records start with C, Linked records start with just a number and Parent records start with a P. You could have all 3 in one field.
id relatedid
10098 14574 C16322
3312 C3261
33067 33071 C33113 P33180
33072 C33073 C33273
33058 33066
7903 P7898
30837 P30838 C30839
I need to a query to use in a report showing parents and childred. So I need to break it down like...
id type relatedid
10098 14574
10098 C 16322
3312 C 3261
33067 33071
33067 C 33113
33067 P 33180
33072 C 33073
33072 C 33273
33058 33066
7903 P 7898
30837 P 30838
30837 C 30839
Then join the master and subs in one query so I can report it.
Thanks for the help
Simi