I need to run a query where I pull out the first record only for each of the orders in tblOrder
TblOrders tblPcak
Pick SalesID (Des) Doc SalesID (Asc)
C 235b 1 123a
B 235b 2 123a
A 235b 3 123a
E 123a 4 123a
D 123a 5 123a
C 123a 1 235b
B 123a 2 235b
A 123a 3 235b
I would like the output to give me two records;
1st record = C 235b & 1 235b
2nd record = E 123a & 1 235b
Thanks for the help.
Greg
TblOrders tblPcak
Pick SalesID (Des) Doc SalesID (Asc)
C 235b 1 123a
B 235b 2 123a
A 235b 3 123a
E 123a 4 123a
D 123a 5 123a
C 123a 1 235b
B 123a 2 235b
A 123a 3 235b
I would like the output to give me two records;
1st record = C 235b & 1 235b
2nd record = E 123a & 1 235b
Thanks for the help.
Greg