Does anyone know what the cause of this may be?
I am joining 2 tables with the following fields and data:
ModelNo SONo SO_Line_No OrderQty LateQty ProcessDt
ABC 123 10 350 25 4/15/2011
ABC 123 10 50 0 4/20/2011
I am pulling all but LateQty from Table1 and LateQty from Table2. I join my 2 tables on ModelNo & SONo (both text datatypes)
My results, regardless of the fact that I have 2 different ProcessDt(s) are entering 25 under LateQty for both records and I cannot figure out why.
I've tried to aggregate it with Sum but then it doubles both lines to 50.
Also tried to remove ProcessDt but with the same problem.
Any ideas? Driving me crazy!
Thanks!
Toni