whiteninja
IS-IT--Management
Fellas Could U Please help
Table 1
Docno Applytodocnono Salespkey
31032 106566 H01
31032 105699 H01
31032 105870 H01
Table 2
Docno Itemkey Quatity
31032 ABC 1
31032 DEF 2
I am trying to link both tables using Docno.
I grouped Salespkey from table 1 then Docno from table 2 because I need to show sales by salesperson.
However the quantity is showing for each record in table 1 - totaling 9.
I want it to show
H01
ABC 1
DEF 2
Total 3
Table 1
Docno Applytodocnono Salespkey
31032 106566 H01
31032 105699 H01
31032 105870 H01
Table 2
Docno Itemkey Quatity
31032 ABC 1
31032 DEF 2
I am trying to link both tables using Docno.
I grouped Salespkey from table 1 then Docno from table 2 because I need to show sales by salesperson.
However the quantity is showing for each record in table 1 - totaling 9.
I want it to show
H01
ABC 1
DEF 2
Total 3