Hi there, my first post here!
I have 2 tables joined by a left-outer. The {part} table and the {part_comp} table.
What I'd like my report to do is, with the use of a groupable formula, list the parent part and its components (if any).
In their most basic, relevant form, the tables look like this:
[tt]
Part Part_Comp
Part Part Comp_Part
000001 000001 001001
000001 001002
000001 001003
000002 000002 002001
000002 002002
000003
000004
000005 000005 005001
[/tt]
All I have so-far is this:
I know this will only display the part OR its components, I simply can't get my head around how to display the part AND...
Can anyone solve this one?
I have 2 tables joined by a left-outer. The {part} table and the {part_comp} table.
What I'd like my report to do is, with the use of a groupable formula, list the parent part and its components (if any).
In their most basic, relevant form, the tables look like this:
[tt]
Part Part_Comp
Part Part Comp_Part
000001 000001 001001
000001 001002
000001 001003
000002 000002 002001
000002 002002
000003
000004
000005 000005 005001
[/tt]
All I have so-far is this:
Code:
//{@Compo}
If IsNull({part_comp.comp_part}) Then {part.part} Else {part_comp.comp_part}
Can anyone solve this one?