I am trying to sum quantities by date and I am having some difficulties, this is what I have so far:
the output that I am trying to get is:
Order Short Report - Allocated Orders
Order # Customer Location Item Number Ship Date Status Customer PO# Stage Date Qty Ordered Picked Qty Staged Qty Short
83185 Customer 1. URU14600 9/6/2007 Picked 91007 1430 1401 0 29
83217 Customer 2 RX11030 9/6/2007 Picked 3688825 5 0 0 5
83370 Customer 4 RX11030 9/6/2007 Picked 15123900 2 0 0 2
Total 1437 0 0 36
83396 Customer 3 ZAN05541QX4 9/7/2007 Picked 163-46323 2 0 0 2
83398 Customer 9. ZAN05541QX4 9/7/2007 Picked 167-31531 2 0 0 2
Total 4 0 0 4
Can someone give me some suggestions?
Code:
body = body + "<TR><TD BGCOLOR=""" & SHADE & """ COLSPAN=3 ALIGN=""CENTER""><b>Total:</b> </TD><TD ALIGN=""RIGHT"" BGCOLOR=""" & SHADE & """><B>" &
FormatNumber(inpqty,0) & "</TD><TD ALIGN=""RIGHT"" COLSPAN=7 BGCOLOR=""" & SHADE & """> </TD></TR>" & vbcrlf
the output that I am trying to get is:
Order Short Report - Allocated Orders
Order # Customer Location Item Number Ship Date Status Customer PO# Stage Date Qty Ordered Picked Qty Staged Qty Short
83185 Customer 1. URU14600 9/6/2007 Picked 91007 1430 1401 0 29
83217 Customer 2 RX11030 9/6/2007 Picked 3688825 5 0 0 5
83370 Customer 4 RX11030 9/6/2007 Picked 15123900 2 0 0 2
Total 1437 0 0 36
83396 Customer 3 ZAN05541QX4 9/7/2007 Picked 163-46323 2 0 0 2
83398 Customer 9. ZAN05541QX4 9/7/2007 Picked 167-31531 2 0 0 2
Total 4 0 0 4
Can someone give me some suggestions?