Hi all,
I'm having some trouble with a multi-table relationship and hoping for some help. I know what I'm trying to do is possible but I'm just going about it the wrong way.
I've got 5 tables I'm working with. PORDER with a P# (part number) that is related to PO_SO with P# and S# (sales number) that is related to SORDER that has the S# and Customer Code # related to CUSTOMER with the Customer Code # and unique Customer Name and finally my main SALES table with Customer Name and S#. My ultimate goal is to be able to filter by Customer Name, S# (sales number) and the P# (part number) associated with each sales number.
any help is super appreciated. My table relationships detailed below. Thank you
[TABLE="class: outer_border, width: 90"]
<tbody>[TR]
[TD]PORDER P(P#)[/TD]
[/TR]
</tbody>[/TABLE]
↑
[TABLE="class: outer_border, width: 100"]
<tbody>[TR]
[TD]PO_SO (P# & S#)[/TD]
[/TR]
</tbody>[/TABLE]
↓
[TABLE="class: outer_border, width: 100"]
<tbody>[TR]
[TD]SORDER (S# & Customer Code)[/TD]
[/TR]
</tbody>[/TABLE]
↓
[TABLE="class: outer_border, width: 100"]
<tbody>[TR]
[TD]CUSTOMER (Customer Code & Unique Customer Name)[/TD]
[/TR]
</tbody>[/TABLE]
↑
[TABLE="class: outer_border, width: 100"]
<tbody>[TR]
[TD]SALES (Customer name & S#)[/TD]
[/TR]
</tbody>[/TABLE]
I'm having some trouble with a multi-table relationship and hoping for some help. I know what I'm trying to do is possible but I'm just going about it the wrong way.
I've got 5 tables I'm working with. PORDER with a P# (part number) that is related to PO_SO with P# and S# (sales number) that is related to SORDER that has the S# and Customer Code # related to CUSTOMER with the Customer Code # and unique Customer Name and finally my main SALES table with Customer Name and S#. My ultimate goal is to be able to filter by Customer Name, S# (sales number) and the P# (part number) associated with each sales number.
any help is super appreciated. My table relationships detailed below. Thank you
[TABLE="class: outer_border, width: 90"]
<tbody>[TR]
[TD]PORDER P(P#)[/TD]
[/TR]
</tbody>[/TABLE]
↑
[TABLE="class: outer_border, width: 100"]
<tbody>[TR]
[TD]PO_SO (P# & S#)[/TD]
[/TR]
</tbody>[/TABLE]
↓
[TABLE="class: outer_border, width: 100"]
<tbody>[TR]
[TD]SORDER (S# & Customer Code)[/TD]
[/TR]
</tbody>[/TABLE]
↓
[TABLE="class: outer_border, width: 100"]
<tbody>[TR]
[TD]CUSTOMER (Customer Code & Unique Customer Name)[/TD]
[/TR]
</tbody>[/TABLE]
↑
[TABLE="class: outer_border, width: 100"]
<tbody>[TR]
[TD]SALES (Customer name & S#)[/TD]
[/TR]
</tbody>[/TABLE]